from Hacker News

Ask HN: Best approach for managing failed login attempts?

by niblettc on 1/16/21, 5:14 PM with 0 comments

Should I lock a user account based on X amount of failed login attempts over Y amount of time? Should X be 3 attempts and Y be 24 hours? Or should it be a higher number over all time?

Once locked should the user have to request an unlock email with a link? What's the best approach?