Solved: 4 Years, 2 Months, 3 Weeks ago locked out of admin
#1
Solved: 4 Years, 2 Months, 3 Weeks ago
Earlier I changed a parameter to two-factor authentication just for my admin section. So a few minutes ago when attempting to login, this screen popped up. Okay, no problem, I will wait to get the code. Well, fifteen minutes later, no code has arrived and now I am locked out of admin. I looked in gmail, including the spam folder. Nothing. And nothing arrived via text. 

I do have my email address set up correctly, etc. 

Help!

I figured it out on my own. Did a SQL query and solved the problem, then went back into admin and turned off the the feature.

Admin CP 2FA Bypass
To log into the Admin CP without using the Two-Factor Authentication code:

Enter your Username and Password and proceed,
Once you are prompted to enter an Authentication code, execute the following SQL query (change USER_ID to user ID of the account):
UPDATE mybb_adminsessions SET authenticated = 1 WHERE uid = USER_ID;


Attached Files Thumbnail(s)
   
Reply
#2
Solved: 4 Years, 2 Months, 3 Weeks ago
Note that MyBB ACP's 2FA relies on mobile devices and authenticator apps, not email: https://docs.mybb.com/1.8/administration/security/2fa/
devilshakerz.com/pgp (DF3A 34D9 A627 42E5 BC6A 6750 1F2F B8AA 28FF E1BC) ▪ keybase.io/devilshakerz
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)