网络营销电子商务研究中心

网络营销电子商务研究中心 (https://www.0058.net/index.php)
-   X-Cart (https://www.0058.net/forumdisplay.php?f=70)
-   -   Cannot reset admin password 4.5.X (https://www.0058.net/showthread.php?t=5545)

Oak Brook 2016-05-10 12:41 PM

Cannot reset admin password 4.5.X
 
Hello all,

I cannot reset the log in info for my site.

I tried password recovery and it keeps saying "Your account is temporarily disabled. Please contact the store administrator for details."

Problem with this message is I AM the ADIN who cannot GET IN!

I tried editing the "xcart_customers" file in PHPMyadmin and changed the log in email and password and STILL I get this message.

I have orders to fill and cannot get in. Any advice would be much appreciated.

Paton 2016-05-10 12:43 PM

The reason why you see this message is the limit set on the max. number of failed login attempts. When you reach the limit, X-Cart 4 thinks it's a hacker trying to guess the password, so it locks the user account.

There are two security settings which cofigure the behavior:
- "Number of failed login attempts after which a customer account must be suspended"
- "Lockout duration in minutes (Affects all user types - leave empty if you do not want to automatically re-enable automatically suspended users)"

So, if your second setting is not empty, your user account will be unlocked automatically. Wait and try to reset the password again.

If the setting was empty, there is still a way to unlock your user:
1. In your config.php file replace "const CHECK_CUSTOMERS_INTEGRITY = TRUE;" with "const CHECK_CUSTOMERS_INTEGRITY = FALSE;"
2. In the MySQL database, update the xcart_customers table and set "status" to "Y" and "suspend_date" to "0" for the admin user
3. Reset the password, get into the backend and change your password to a new new
4. Change your config.php file back to "const CHECK_CUSTOMERS_INTEGRITY = TRUE;"

This should help.


All times are GMT +8. The time now is 10:54 AM.

Powered by vBulletin Version 3.8.7
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.