Locked access - how to unlock
Posted: Tue Aug 15, 2017 4:44 pm
As I was playing with the layout of the login page to make it look like it was actually part of my site (removed the "select language" functionality, moved the "powered by Forma.lms Community Edition" text to the bottom, added my site main menu bar to the top of the page, etc.) I noticed at some point that instead of the username and password boxes being shown, I had text that said "Locked access"! What?
So how do I unlock this?
TIA.
*EDIT*
I figured this out in case anyone else has this issue - I was refreshing the page to test the look and feel after having failed a login attempt and I was locked out for multiple failed attempts. So, because I was the admin, I couldn't just go to the admin portion of the website and fix it. In the database is a table called core_user_log_attempt look for the userid of the account you are trying to unlock and delete those records.
Now that I am thinking about this, how did it know who I was to even know to lock the login page to begin with? The edit boxes were empty. I guess the code is looking at $_SESSION vars or cookies. I'll try clearing cookies next time.
So how do I unlock this?
TIA.
*EDIT*
I figured this out in case anyone else has this issue - I was refreshing the page to test the look and feel after having failed a login attempt and I was locked out for multiple failed attempts. So, because I was the admin, I couldn't just go to the admin portion of the website and fix it. In the database is a table called core_user_log_attempt look for the userid of the account you are trying to unlock and delete those records.
Now that I am thinking about this, how did it know who I was to even know to lock the login page to begin with? The edit boxes were empty. I guess the code is looking at $_SESSION vars or cookies. I'll try clearing cookies next time.