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

✨ Account freezing and CLI tool #171

Merged
merged 5 commits into from
Oct 5, 2023
Merged

Conversation

aaronleopold
Copy link
Collaborator

Resolves #168

PR mostly around account locking/unlocking, but I also did a bit elsewhere:

  • add the ability to lock/unlock a user account
    • account becomes locked automatically after 10 failed logins in a row (this will likely be made configurable)
    • server owners can lock/unlock from the UI
  • add a new CLI built into the Stump binary
  • replace axum-sessions with tower-sessions per deprecation notice
  • migrate off of a memory store for sessions and created a custom PrismaSessionStore
    • a follow-up will come with a bit better error handling
  • update rust version for repo
  • made some of the tables look a little better on mobile

@aaronleopold aaronleopold changed the title [WIP] ✨ Account freezing and CLI tool ✨ Account freezing and CLI tool Oct 5, 2023
@aaronleopold aaronleopold marked this pull request as ready for review October 5, 2023 01:11
@aaronleopold
Copy link
Collaborator Author

Example usage

Screenshot 2023-10-04 at 6 13 35 PM

@aaronleopold aaronleopold merged commit fab2c97 into develop Oct 5, 2023
7 checks passed
@aaronleopold aaronleopold deleted the al/account-freezing branch October 12, 2023 03:58
@aaronleopold aaronleopold mentioned this pull request Feb 18, 2024
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.

1 participant