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

[5.2] reset the attempts on lockout to avoid race condition re-lockout #13283

Merged
merged 4 commits into from
Apr 25, 2016

Conversation

tomschlick
Copy link
Contributor

As described in this comment on the previous #12037 PR... There can be a race condition where the :lockout key expires before the attempts are reset causing the user to be instantly locked out again. This PR clears the attempts on lockout as they aren't needed anymore and should solve the race condition.

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 this pull request may close these issues.

2 participants