|
|
Have you ever met this message:
"Too many incorrect password attempts for Discuz. Please log in after 15 minutes "
or the original message is:
您的管理面板已经锁定!请在 1.8E+24 秒以后重新访问管理中心
I've looked for a very looong time to find the solution to login AdminCP ( I'm using Discuz! X 3.5 ).
It's so lucky to me to find the following solutions. Just update some SQL from phpmyadmin :
1. Reset the login failed logs.
- TRUNCATE TABLE `pre_ucenter_failedlogins`;
- TRUNCATE TABLE `pre_common_failedlogin`;
- TRUNCATE TABLE `pre_common_failedip`;
- TRUNCATE TABLE `pre_security_failedlog`;
- TRUNCATE TABLE `pre_common_admincp_session`;
Copy Code 2. Change your password of admin:
- UPDATE pre_common_member SET password='5c7588e760706172d8c9abe5ce90b383' WHERE username='admin';
- UPDATE pre_ucenter_members SET password='$2y$10$.1aNh6Y93ZZ4.X496/UB4OQcjnH6aN5wn58Xf9oki2mg9lgf3JnJC', salt='' WHERE username='admin';
Copy CodeThe X3.5 version no longer uses a single MD5 encryption, but instead adopts the more secure bcrypt algorithm. Therefore, many of the old reset methods circulating online (such as simply modifying the pre_common_member table to an MD5 value) are invalid. You must update both tables at the same time.
3. Now you could login to uc_server with username and password are the same: admin
4. Go to Ucenter Dashboard --> User Management --> Change password for you user: admin
5. Login to AdminCP.
Wow. It really works.
|
|