HOW TO restore admin password?

Discuss everything related to ApPHP Durecty CMF. All versions. Any questions related to the Directy CMF developing or using should be posted to this forum.

Moderators: alexandrleonenko, alexmst

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

HOW TO restore admin password?

Postby administrator » Jun 2nd, '19, 13:35

There is a simple way to restore admin password.

1. To enable possibility to restore admin password, open protected/config/main.php file and set this option enabled.
You have also to define the type of restoring of password.
"Renew" means new password will be generated and sent to the email.
"Reset" means link to restore password page will be sent to admin. On this page he could enter new password.

Code: Select all

// Password restore settings
'restoreAdminPassword' => array(
   'enable' => true,
   'restoreType' => 'renew'         /* 'renew' - send new generated password, 'reset' - send a link to the reset page */
),


2. On Backend login page click on Forgot your password? link.
Then enter admin password and receive link to restoring password to the admin email.

Untitled.png
Untitled.png (48.41 KiB) Viewed 1003 times

Return to “ApPHP Directy CMF {developers/users}”