Locked out of admin login
Posted by stargazer77
Locked out of admin login November 16, 2022 12:47AM |
Registered: 11 years ago Posts: 47 |
That piece that requires you to enter a code to login to the admin area has caused me to get locked out of logging in as an admin. I'm getting an error saying "Admin login has been disabled due to a number of failed login attempts". I find that code to be entirely unreadable and have to guess at it. I'll usually get it right on the 3rd or 4th try, but this time I didn't. And now I'm locked out. How long does this lock out last? It's showing something for me to enter something to override, but I don't know what I'm supposed to enter there. Can you help?
Re: Locked out of admin login November 16, 2022 09:52AM |
Admin Registered: 18 years ago Posts: 569 |
Assuming you are running a security suite. See attachment.
I can only assume those numbers are defaults.
You may also create a new user, go into database and change them to an admin.
(haven;t done it in about 12 years, so don't have definitive steps)
I can only assume those numbers are defaults.
You may also create a new user, go into database and change them to an admin.
(haven;t done it in about 12 years, so don't have definitive steps)
Re: Locked out of admin login November 16, 2022 11:46AM |
Registered: 11 years ago Posts: 47 |
Ok, that helps a lot. I'm glad to see how I can disable this. But I still have to be able to get in one time to change it. I've tried guessing that code 30+ times now and still haven't gotten it right.
Is there any way to turn off the Admin Login Captcha through the database?
Also, I'm now also seeing that it is possible that I accidently deleted one character from the password where I have it stored. So I may be using the wrong password. Is there any way to initiate a password reset on a user account from the admin login? I tried doing a password reset on the main board for that admin user e-mail, but it said the e-mail address could not be found. I tried three different e-mail addresses and none of them worked. I know one of the three I used is the correct one for this account on the site. The first one I tried is the correct one as far as I know. It's what have saved together with the password. I logged in on this same account just a few hours earlier successfully. But now I can't get in no matter what I do.
Is there any way to turn off the Admin Login Captcha through the database?
Also, I'm now also seeing that it is possible that I accidently deleted one character from the password where I have it stored. So I may be using the wrong password. Is there any way to initiate a password reset on a user account from the admin login? I tried doing a password reset on the main board for that admin user e-mail, but it said the e-mail address could not be found. I tried three different e-mail addresses and none of them worked. I know one of the three I used is the correct one for this account on the site. The first one I tried is the correct one as far as I know. It's what have saved together with the password. I logged in on this same account just a few hours earlier successfully. But now I can't get in no matter what I do.
Re: Locked out of admin login November 16, 2022 01:32PM |
Registered: 11 years ago Posts: 47 |
I'm looking in the site database and I found the table phorum_settings. Within that, I found an item called mod_spamhurdles.
There is a radio button with options V and S and S is selected. Under that, I see the following value:
a:8:{s:7:"captcha";a:5:{s:4:"type";s:10:"javascript";s:14:"spoken_captcha";b:1;s:14:"flite_location";N;s:16:"recaptcha_pubkey";s:0:"";s:16:"recaptcha_prvkey";s:0:"";}s:7:"posting";a:2:{s:12:"block_action";s:9:"unapprove";s:7:"hurdles";a:5:{s:21:"block_commented_field";s:3:"all";s:18:"block_quick_submit";s:3:"all";s:12:"block_replay";s:3:"all";s:20:"javascript_signature";s:9:"anonymous";s:7:"captcha";s:9:"anonymous";}}s:8:"register";a:1:{s:7:"hurdles";a:5:{s:21:"block_commented_field";s:3:"all";s:18:"block_quick_submit";s:3:"all";s:12:"block_replay";s:3:"all";s:20:"javascript_signature";s:4:"none";s:7:"captcha";s:3:"all";}}s:2:"pm";a:1:{s:7:"hurdles";a:5:{s:21:"block_commented_field";s:3:"all";s:18:"block_quick_submit";s:3:"all";s:12:"block_replay";s:4:"none";s:20:"javascript_signature";s:4:"none";s:7:"captcha";s:4:"none";}}s:10:"log_events";i:1;s:11:"key_min_ttl";i:5;s:11:"key_max_ttl";i:28800;s:14:"config_version";i:2;}
Is there anything you can recommend for changing this to turn it off this way?
There is a radio button with options V and S and S is selected. Under that, I see the following value:
a:8:{s:7:"captcha";a:5:{s:4:"type";s:10:"javascript";s:14:"spoken_captcha";b:1;s:14:"flite_location";N;s:16:"recaptcha_pubkey";s:0:"";s:16:"recaptcha_prvkey";s:0:"";}s:7:"posting";a:2:{s:12:"block_action";s:9:"unapprove";s:7:"hurdles";a:5:{s:21:"block_commented_field";s:3:"all";s:18:"block_quick_submit";s:3:"all";s:12:"block_replay";s:3:"all";s:20:"javascript_signature";s:9:"anonymous";s:7:"captcha";s:9:"anonymous";}}s:8:"register";a:1:{s:7:"hurdles";a:5:{s:21:"block_commented_field";s:3:"all";s:18:"block_quick_submit";s:3:"all";s:12:"block_replay";s:3:"all";s:20:"javascript_signature";s:4:"none";s:7:"captcha";s:3:"all";}}s:2:"pm";a:1:{s:7:"hurdles";a:5:{s:21:"block_commented_field";s:3:"all";s:18:"block_quick_submit";s:3:"all";s:12:"block_replay";s:4:"none";s:20:"javascript_signature";s:4:"none";s:7:"captcha";s:4:"none";}}s:10:"log_events";i:1;s:11:"key_min_ttl";i:5;s:11:"key_max_ttl";i:28800;s:14:"config_version";i:2;}
Is there anything you can recommend for changing this to turn it off this way?
Re: Locked out of admin login November 17, 2022 09:08AM |
Admin Registered: 18 years ago Posts: 569 |
Re: Locked out of admin login December 15, 2022 10:09PM |
Registered: 11 years ago Posts: 47 |
Sorry I didn't get back with you on this until now. I just got busy with other stuff and I was able to do the edit I needed to do at the time through the database. Now I need to get in the admin area again and I still can't get past the security code on the admin login page. I don't think it's the user account. I need to be able to turn off that security code from the database.
Re: Locked out of admin login December 15, 2022 11:09PM |
Registered: 11 years ago Posts: 47 |
I've created new user accounts twice now and can't even log in with either of them on the main site. I did what you suggested with making the user an admin through the database and couldn't log in the admin area with that either. I am able to log in to the main site with one previous user account that is not an admin account. I can't login on the main site with the admin user account either. So something more is definitely wrong. It might not be just this security code.
The password reset page isn't working either. I'm losing my mind being unable to get in anywhere I need to get in. I'm being blocked every step of the way. Is there any way to edit passwords in the site database so I can try that to see if the passwords I have are wrong? The new users I just set up won't log in either and I know I'm not putting in the wrong passwords there. I have no idea what is going on. I'm sure it is user error on my part somehow, but I don't know what I'm doing wrong.
Edited 1 time(s). Last edit at 12/15/2022 11:12PM by stargazer77.
The password reset page isn't working either. I'm losing my mind being unable to get in anywhere I need to get in. I'm being blocked every step of the way. Is there any way to edit passwords in the site database so I can try that to see if the passwords I have are wrong? The new users I just set up won't log in either and I know I'm not putting in the wrong passwords there. I have no idea what is going on. I'm sure it is user error on my part somehow, but I don't know what I'm doing wrong.
Edited 1 time(s). Last edit at 12/15/2022 11:12PM by stargazer77.
Re: Locked out of admin login December 15, 2022 11:41PM |
Registered: 11 years ago Posts: 47 |
I've made some progress now. I was able to get back into the admin area. I was able to turn off the captcha code so I don't have to deal with that any more. I was able to log in with a new user I created. I was able to log in with my admin account after changing the password. I think the problem there was a password issue after all and not the captcha code.
But now the problem I'm still having is the password reset page isn't working. In Firefox when I enter my e-mail and hit submit it goes to a white screen of death. In Edge, it goes to a page that says the following:
This page isn’t working right now [website URL] can't currently handle this request.
HTTP ERROR 500
But now the problem I'm still having is the password reset page isn't working. In Firefox when I enter my e-mail and hit submit it goes to a white screen of death. In Edge, it goes to a page that says the following:
This page isn’t working right now [website URL] can't currently handle this request.
HTTP ERROR 500
Sorry, only registered users may post in this forum.