Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

Merged
taylorotwell merged 4 commits into
laravel:5.2from
tomschlick:patch-2
Apr 25, 2016
Merged

[5.2] reset the attempts on lockout to avoid race condition re-lockout#13283
taylorotwell merged 4 commits into
laravel:5.2from
tomschlick:patch-2

Conversation

@tomschlick
Copy link
Copy Markdown
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