Home > Article > CMS Tutorial > How to retrieve the forgotten password of Empire CMS
The methods to retrieve the Empire CMS password are: reset the password file: modify the password in the database. Retrieval through database: Use database management tools to reset the password. Retrieve via email (only if the email has been set): Reset the password via email.
Empire CMS Forgot Password Retrieval Method
It is not uncommon to forget the Empire CMS password, as detailed below How to retrieve the password:
1. Reset the password
/e/e/admin/
.config/inc/config.php
file and open. Change database password: Find the following code and change it to your new password:
<code class="php">$db['default']['password'] = '新密码';</code>
config.php
file. 2. Retrieve through the database
e_admin
. Reset password: Find your administrator username line and update the password
field with the new encrypted password:
<code class="sql">UPDATE e_admin SET password = MD5('新密码') WHERE username = '管理员用户名';</code>
3. Retrieve via email (only for email addresses that have been set)
Note:
If you forget your email, you can only reset your password through the following methods:
The above is the detailed content of How to retrieve the forgotten password of Empire CMS. For more information, please follow other related articles on the PHP Chinese website!