Page 1 of 1

Locked access - how to unlock

Posted: Tue Aug 15, 2017 4:44 pm
by RepoMeister
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.

Re: Locked access - how to unlock

Posted: Wed Aug 16, 2017 7:24 am
by max
Maybe you can take a look at these settings
login attempts.JPG

Re: Locked access - how to unlock

Posted: Wed Aug 16, 2017 4:04 pm
by RepoMeister
Yes sir, I have since changed that. (but, at the time, I was locked out of the system so I couldn't access that setting)

Re: Locked access - how to unlock

Posted: Wed Feb 17, 2021 9:57 pm
by randaB
I was locked out of the system Access denied, please check your password..... please help

Re: Locked access - how to unlock

Posted: Wed Feb 17, 2021 10:18 pm
by alfa24
Can you execute queries on Forma DB?

Re: Locked access - how to unlock

Posted: Thu Feb 18, 2021 5:54 pm
by scubatricky
The table core_setting contains a field called param_value.

Set this to 0 via phpmyadmin or such and you'll not have the problem if you are locked out again.

Re: Locked access - how to unlock

Posted: Thu Feb 18, 2021 7:40 pm
by alfa24
:?: