Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update User login so that the account gets temporarily locked after too many failed login attempts #134

Open
briri opened this issue Oct 25, 2024 · 0 comments

Comments

@briri
Copy link
Collaborator

briri commented Oct 25, 2024

Add logic to lock a User account after too many failed logins. The number of failed login attempt threshold and the lock TTL should be configurable.

  • Add code to increment the failed_sign_in_attemps property in the User authCheck function. Logic should set the locked property after the threshold is met
  • Add logic that checks the locked flag in the signinController
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant