HOW TO restore the administrator password

Talk and info about common issues

Moderators: ne_moj, zewa

administrator
Site Admin
Site Admin
Posts: 5930
Joined: Jan 7th, '09, 23:18
Contact:

HOW TO restore the administrator password

Postby administrator » May 21st, '11, 22:12

To restore password for administrator you have to perform following:

1. Go to index.php?admin=password_forgotten page, then enter your username and the system will send the password to your email.

2. If this step doesn't help or your password was broken do following:

a. in include/base.inc.php define

Code: Select all

define("PASSWORDS_ENCRYPTION", false);

b. Add directly via database some temporary password for admin, for example "test"
c. Login to administrator panel with this password.
d. Change back in include/base.inc.php

Code: Select all

define("PASSWORDS_ENCRYPTION", true);

e. Change password for admin via AdminPanel.
f. Test login with the new password.

3. After successful login with temporary password - turn back encryption and create new admin password via My Account page.

Return to “ApPHP MicroCMS {HOW TO}”