How to Change the Admin Password in Prestashop 1.7

Deprecated Settings File

There are multiple ways to reset the admin password for PrestaShop. One particular method described in our article “355: How to Reset the PrestaShop Administrator Password” is no longer feasible if you are running version 1.7. This is due to the fact that PrestaShop has deprecated the config/ file. This file was necessary to retrieve the COOKIE_KEY required for resetting the admin password. The file may still exist, however, this screen shot shows the deprecated version’s content:

Deprecated Content

As you can see, the file no longer contains the data needed to follow the old method. However, the following steps can be taken to reset the admin password.

Reset the Admin Password for PrestaShop 1.7

  1. First, navigate to your PrestaShop’s Front Office login page.
  2. Click on the “Sign In” link, located in the upper right-hand corner.
  3. Click on the “No account? Create one here” link.
  4. After you will in the required fields (first name, last name, email, and password), click SAVE. Be sure to make note of the password you are using, you will end up using this password to login as the admin.
  5. Open up phpMyAdmin and navigate to the database for your Prestashop installation.
  6. Open the ps_customer table and look for the user you just created.
  7. Copy the password field.
  8. Open the ps_employee table and look for your admin user.
  9. Paste the password you copied from the ps_customer table into the password field of the ps_employee for your admin user.
  10. Click Go to save your changes.
  11. Navigate to your PrestaShop admin login URL. Test your login to confirm the email address and password are combination work.
John-Paul Briones

John-Paul is an Electronics Engineer that spent most of his career in IT. He has been a Technical Writer for InMotion since 2013.

More Articles by John-Paul

Thoughts on “How to Change the Admin Password in Prestashop 1.7

Was this article helpful? Let us know!