Sometimes it happens that a person forgets the password for logging in to the Prestashop administration.
It doesn't matter, I have a script for you that you upload to the folder of your Prestashop in your FTP repository.
Then just enter your eshop URL + php file name.
You will see a simple HTML page in which you select your or another administrator account, enter a new password and also whether the account should be active or inactive.
Then just click on the "Change selected employee password" button.
Prestashop compatibility: 1.5, 1.6, 1.7
Warning: do not use this kind of script without changing its name otherwise anyone can call it and take charge of your site.
Remove it from the server when used!