The two-step login people know from Microsoft 365 and Google Workspace: enter your identifier, then the right method appears.
| Key | Default |
|---|---|
login_security.identifier_first | false |
What the second step shows
- An SSO redirect if the email domain is mapped in single sign-on
- Otherwise the password field
So staff on @company.com go straight to your identity provider, and everybody else gets a normal password prompt, without two separate login URLs.
It does not leak account existence
The route endpoint returns password for unknown accounts.
Type an address that has never registered and you get a password field, exactly as a real account would. The step reveals nothing — which is the property most two-step login implementations get wrong, since the natural implementation says "we don't recognise that address".
Progressive enhancement
Implemented as a small script on wp-login.php that reveals the second step. Nothing else is replaced.
That means:
- Other login forms — WooCommerce, a membership plugin, a custom template — are untouched.
- A browser with JavaScript disabled falls back to the classic combined username-and-password form, which still works.
Off by default
It changes the first thing every user sees, which is a large enough surface that it should be a decision rather than a default.