Locked access - how to unlock

Install and configure FormaLMS and DoceboCE
Post Reply
RepoMeister
Newbie
Posts: 6
Joined: Mon Aug 14, 2017 6:51 pm
Version: forma.lms 1.4.2

Locked access - how to unlock

Post 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.
User avatar
max
FormaLms Guru
Posts: 2735
Joined: Thu Mar 01, 2012 10:41 am
Version: forma.lms 2.4
Contact:

Re: Locked access - how to unlock

Post by max »

Maybe you can take a look at these settings
login attempts.JPG
---------------------
Massimiliano Ferrari
Elearnit - Elearning e Knowledge Management
https://www.elearnit.net
https://www.linkedin.com/in/massimilianoferrari
m.ferrari[at]elearnit.net
Skype: m_ferrari_it
RepoMeister
Newbie
Posts: 6
Joined: Mon Aug 14, 2017 6:51 pm
Version: forma.lms 1.4.2

Re: Locked access - how to unlock

Post 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)
randaB
Newbie
Posts: 3
Joined: Sat Oct 31, 2020 7:19 pm

Re: Locked access - how to unlock

Post by randaB »

I was locked out of the system Access denied, please check your password..... please help
alfa24
Senior Boarder
Posts: 2008
Joined: Fri Nov 24, 2017 8:45 am

Re: Locked access - how to unlock

Post by alfa24 »

Can you execute queries on Forma DB?
Per supporto GRATUITO contattatemi in privato qui
scubatricky
FormaLms User
Posts: 69
Joined: Wed Oct 21, 2020 11:43 pm

Re: Locked access - how to unlock

Post 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.
alfa24
Senior Boarder
Posts: 2008
Joined: Fri Nov 24, 2017 8:45 am

Re: Locked access - how to unlock

Post by alfa24 »

:?:
Per supporto GRATUITO contattatemi in privato qui
Post Reply