Admin reset mechanism + configurable thresholds for login rate-limiting #2601
davemachado
started this conversation in
Feature Requests & Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
What would you like Grimmory to do?
AUTH_RATE_LIMIT_WINDOW_MINUTESvia application.yml/env vars, defaulting to 5 and 15 (see below).What problem does this solve for you?
AuthRateLimitService hardcodes MAX_ATTEMPTS = 5 and a 15-minute Caffeine expiry. I'd like to configure both of these on my server to give my users more chances when entering their passwords.
This helps set expectations to users on how long they need to wait, rather than just being told "later".
Currently, the only way to clear a lockout is to restart the entire app since this is all in-memory.
Anything else?
resetLoginAttempts/resetLoginAttemptsByUsernamemethods already exist but are currently only used in the successful login pathWant to help out?
Yes! I'd love to help implement this
Before submitting
All reactions