Page 1 of 1
This account has been disabled
Posted: Mon Oct 05, 2009 10:21 am
by gfxinternetservices
I am getting a strange issue on an AC7 site where if an administrative user tries to login, it gives the error "This account has been disabled."
I tried using the reset admin script (
viewtopic.php?f=47&t=7778#p32968), however it then gives an error that "Admin recovery is not enabled!" Is there a way that I can enable admin recovery directly from the database so that I can run the script successfully?
Re: This account has been disabled
Posted: Tue Oct 06, 2009 2:40 am
by mazhar
Well make sure that you made following change in recovery script in order to enable it. Locate following code
Then update it as below
Now admin account will be reset to username
admin@ablecommerce.com and password to
password. Better update username and password as well to your desired username and password. Save the script and finally execute it to achieve desired results.
On the other hand major need of using reset script is when you forgot your admin password and there is no way to get it back for example you didn't configured SMTP settings etc. If account is disabled just because of that you mistakenly typed wrong password then you can go to ac_Users table, locate your user name and then for this user change IsDisabled field value from true to false.
Re: This account has been disabled
Posted: Tue Oct 06, 2009 8:15 am
by gfxinternetservices
Thanks for the reply Mazhar. I was thinking the account was locked out, but the IsApproved was set to false for some reason. Now I am back in!