How to reset the administrator password of prestashop
Apr 04
Prestashop bankend, password, Prestashop No Comments
The administrator password of prestashop use md5 for password encryption, it’s use a long string called “cookie key” plus your password to generate password data.
We need copy the cookie key in config/setting.inc.php.
My cookie key is _COOKIE_KEY_ = Q8ofSVQ9j6biVE2TnsFkKrhGZL04s3ahUzYLUWYHxL3N686JLSBiX7uL
So for me:
UPDATE `prestashop`.`ps_employee` SET `passwd` = md5('Q8ofSVQ9j6biVE2TnsFkKrhGZL04s3ahUzYLUWYHxL3N686JLSBiX7uL' + '123456') WHERE `ps_employee`.`id_employee` =1 LIMIT 1
ps_employee is administrator table name, if you set other table prefix, need change herer.
id_employee = 1 This is the first administrator, if you want change other one, just replace the id here.
Still cant open bankend? See here
Hope this article can help you, thanks.
RSS
Twitter
Recent Comments