-
Notifications
You must be signed in to change notification settings - Fork 49
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
Block user accounts if an incorrect password was entered 5 times #527
Block user accounts if an incorrect password was entered 5 times #527
Conversation
- accountLocked: log when the account is locked. - loginFailedAccountLocked: log if the login fails while the account is locked.
- Considered race condition in the incrementFailedLoginAttempts and the ensureUserLoginActivityRecord functions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, this is a great contribution!
Happy to chat about my feedback. They're loosely held opionions
…untLocked events.
… when getLoginActivity method has been executed.
…ingle userService method, replacing existing implementations
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've incorporated your review! @evert
… before assigning true to the session.passwordValid
Thank you so much! Hope that wasn't too painful |
Feature Overview:
Key Changes:
Security Improvements:
This feature improves the security of user accounts by preventing brute-force attacks and unauthorized access through repeated incorrect password attempts.
Testing & Validation:
Next Steps:
Checklist