DEV Community

Discussion on: Are login forms that ask for your username and password on two different pages more secure?

Collapse
 
oscherler profile image
Olivier “Ölbaum” Scherler

In multi-factor authentication, the second factor is usually triggered after you successfully typed your password (otherwise anyone could flood people with SMS codes just by filling their e-mail address).

Collapse
 
defman profile image
Sergey Kislyakov

You could technically perform some security audit upon entering e-mail, e.g. if you keep tracking of login attempts. If there are 18493 successful logins from 1.1.1.1 and then someone tries to log in from 2.2.2.2, you could already alert an user about some suspicious attempt.