Account locked at invalid login attempt timer issue #17681
Unanswered
ks-brijeshr
asked this question in
Ideas
Replies: 1 comment
-
It’s determined dynamically – just rounded to the nearest minute, unless the remaining time is less than one minute. |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Craft version 4.15.2
I'm currently implementing account lockout handling using Craft’s built-in user authentication. When a user exceeds the maximum allowed login attempts, they see the default error message:
"Account locked. Try again in X minutes."
This message is static and doesn't reflect the remaining time dynamically. To improve user experience and avoid confusion, I would like to request support for a real-time countdown in this error message — e.g., updating seconds live as time progresses.(Your account is locked,please wait for 4 minutes and 34second, live timer countdown.)
Ideally, Craft could expose the remaining lockout time (in seconds) via a public endpoint or as a part of the error response, so that the front-end can display a live countdown timer (mm:ss format) without custom database queries.
Would this be something your team could consider for a future release or provide guidance on best practices?
please fix this issue or give me the suggestions.
Beta Was this translation helpful? Give feedback.
All reactions