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

fix: Fix bugs with account locking #2580

Merged
merged 2 commits into from
Sep 29, 2023
Merged

Conversation

mchill
Copy link
Contributor

@mchill mchill commented Sep 27, 2023

What type of PR is this?

  • bug

What this PR does / why we need it:

This fixes two bugs with account locking described in the linked issue.

Which issue(s) this PR fixes:

Fixes #2569

Testing

I added an additional unit test to test resetting user locks.

Release Notes

Fixes bugs with account locking

Enforce a maximum number of consecutive failed logins. Successfully logging in should reset the
count.

mealie-recipes#2569
The user should be unlocked when locked_at is set, but the lock has expired.

mealie-recipes#2569
@hay-kot hay-kot merged commit 4bd7bda into mealie-recipes:mealie-next Sep 29, 2023
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.

[BUG] - Account getting locked erroneously
2 participants