How to unlock a student's account that's been locked out due to too many login failures?

I had a student get locked out due to too many login failures. So I manually changed their password, and tried to log in as them. But I couldn’t log in as them since it still said they were locked out for 30 minutes due to too many failures. How can I override this as an admin on a Lilac Tutor system?

(Note: for some reason none of the class registration or password reset emails were making it into their inbox. They were getting dropped somewhere along the way, even though they said they don’t see them in spam, so it could have been corporate filtering. So I need a solution that doesn’t rely on the password reset mechanism.)

Hi,

To disable the lock you can use this variable

'ENABLE_MAX_FAILED_LOGIN_ATTEMPTS': false,

To change the limit and time you can use these variables.

MAX_FAILED_LOGIN_ATTEMPTS_ALLOWED = 5  
MAX_FAILED_LOGIN_ATTEMPTS_LOCKOUT_PERIOD_SECS = 15 * 60

There’s no way to leave the capability and just unlock a single student’s account?

@Rohan, you can unlock a single student’s account from the Django admin panel here:

https://<LMS_URL>/admin/student/loginfailures/

4 Likes

Perfect, thank you so much!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.