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

Still get lockout message even with AXES_LOCK_OUT_AT_FAILURE set to False #451

Closed
mogzol opened this issue Jun 13, 2019 · 1 comment · Fixed by #452
Closed

Still get lockout message even with AXES_LOCK_OUT_AT_FAILURE set to False #451

mogzol opened this issue Jun 13, 2019 · 1 comment · Fixed by #452

Comments

@mogzol
Copy link
Contributor

mogzol commented Jun 13, 2019

I have AXES_LOCK_OUT_AT_FAILURE set to False, which does work properly, since I can still log in using valid credentials even when I have passed the failure limit. However, if I have passed the failure limit and enter invalid credentials, then Axes still shows the lockout message (or redirect/template depending on your settings), even though the account isn't actually locked.

If AXES_LOCK_OUT_AT_FAILURE is set to False, then shouldn't Axes also suppress any lockout responses on failed logins?

@aleksihakli
Copy link
Member

You are correct, good catch and PR.

aleksihakli added a commit that referenced this issue Jun 14, 2019
Fixes #451
Fixes #450 merge conflicts
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

Successfully merging a pull request may close this issue.

2 participants