Yeah funny title anyways after a user account in a system is locked out due to failed password attempts or failed password answer attempts How should the unlock process start.Which of the 3 below would you bank on and why? Currently following 1 and users hate the system some times :(
- User's have to request a
password reset
as only way out. - User's can request a email to
unlock account link
- After successfully logging in with their old password( but primarily they landed here because they were unable to login doh) - I will leave this option for you to suggest.
The above might be dumbest options i got according to experts but i am here to learn. So show me the right path. Thanks SO
This is really going to depend on the system.
Forcing a password reset though isn't a good idea. Think of a situation with a malicious user, I can simply try to login to your account, lock you out, and then you have to reset to get in.
The most common scenario that I see is something like the way that ASP.NET handles it by default. You get X attempts to login, and then your account is locked for Y period of time.
So give them 10 tries, then lock the account for 10, 20, 30 minutes and let them back in.