Categories

Featured templates

PrestaShop 1.4.x-1.7.x. How to Reset Admin Panel Details

Charlotte Bennett July 6, 2016
Rating: 5.0/5. From 3 votes.
Please wait...

In this tutorial we will show you 2 main ways of recovering the administrator password for the PrestaShop admin dashboard.

Using the I forgot my password (“Lost password” for earlier versions of PrestaShop) link to reset the administration password.

The easiest way to get a new password is to submit the email address used for creating the store. PrestaShop will automatically generate a new password and send it to your email.

  1. Press the I forgot my password link on the admin panel login form.

    PrestaShop_1.4.x_1.6.x._How_to_reset_admin_panel_details_1
  2. On the next page, type the admin panel email and click the Send button. You will see a pop-up confirmation that the email has been sent.

    PrestaShop_1.4.x_1.6.x._How_to_reset_admin_panel_details_2
  3. Check your inbox and find the message with your new password.

    PrestaShop_1.4.x_1.6.x._How_to_reset_admin_panel_details_3
  4. Try to log into your dashboard with the provided password.

Resetting the dashboard password through the database

In case the email you used for creating the store is not valid, or for some other reasons you cannot get an email from PrestaShop, your password can be reset through the hosting cPanel.

  1. Log into the cPanel and go to the File Manager.

  2. Navigate to the config folder in your web root, and find the settings.inc.php file, open the file with a code editor.

    PrestaShop_1.4.x_1.6.x._How_to_reset_admin_panel_details_4
  3. Here you can find the database details used for your site installation. You need to copy the _COOKIE_KEY value form here. You may paste it into some text editor while while working on other steps.

    Note: the cookie key is unique for each PrestaShop installation. You can not use one key in the different installations.

    PrestaShop_1.4.x_1.6.x._How_to_reset_admin_panel_details_5
  4. Open your database with the phpMyAdmin tool and go to the SQL tab.

    PrestaShop_1.4.x_1.6.x._How_to_reset_admin_panel_details_6
  5. paste the following SQL query into the field below:

     UPDATE  `ps_employee` SET `passwd` = MD5('<_COOKIE_>password') WHERE `ps_employee`.`id_employee` = 1;
  6. Replace the <_cookie_> part with the actual cookie key that you copied from settings.inc.php file, and type the desired password right after it. Mind, there must be no spaces or any additional symbols between the cookie code and the password.

    PrestaShop_1.4.x_1.6.x._How_to_reset_admin_panel_details_7

    Note: This query will work only if you are using the default database prefix which is ps_. In case you have a different prefix, paste it instead of ps_.

  7. Press the GO button to execute the query.

  8. Try to log into your PrestaShop admin panel with the password you have just generated.

We hope the tutorial was useful for you.

Feel free to check the detailed video tutorial below:

PrestaShop 1.4.x-1.6.x. How to reset admin panel details
Best Prestashop Themes
This entry was posted in PrestaShop Tutorials and tagged password, Prestashop, reset. Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket