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

Block user accounts if an incorrect password was entered 5 times #519

Open
evert opened this issue Aug 14, 2024 · 0 comments
Open

Block user accounts if an incorrect password was entered 5 times #519

evert opened this issue Aug 14, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@evert
Copy link
Member

evert commented Aug 14, 2024

We should have an 'incorrect password' counter per user. If this exceeds a (hardcoded, for now) number we should prevent future attempts to log in.

A successful login should also reset this counter.

This implies that we need a new property in the database on a user, indicating that too many incorrect login attempts were made. This property can just be the number of previous attempts.

Make sure that when this condition happens, the user sees an error like:

"Too many failed login attempts, please contact [admin] to unlock your account"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant