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

User is never locked out on failed login attempts #1905

Closed
Neutrino-Sunset opened this issue Jul 21, 2022 · 1 comment
Closed

User is never locked out on failed login attempts #1905

Neutrino-Sunset opened this issue Jul 21, 2022 · 1 comment

Comments

@Neutrino-Sunset
Copy link

No matter how many times the user enters the wrong password they are never locked out.

This is true irrespective of whether you set MaxFailedAccessAttempts or not.

The Piranha_Users.AccessFailedCount entry in the database is never updated. Manually setting it to a value greater than MaxFailedAccessAttempts also has no effect.

Either this is a bug, or this documentation is wrong, or I'm doing something wrong. But I've just tested this using your own project template and it looks broken to me.

@Neutrino-Sunset
Copy link
Author

Also since POST /manager/login returns 200 on failed login I can't set up a monitor on the web server to detect 401 errors and raise an alert for brute force authentication attacks. Which since the user is never locked out on multiple failed login attampts is a major problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants