View Single Post
  #2   IP: 153.99.39.223
Old 2015-05-11, 09:33 PM
Bethany Bethany is offline
初级会员
 
Join Date: 2008-01-01
Posts: 1
Bethany 现在声名狼藉
Default

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.
Reply With Quote