diff --git a/prestashop/README.md b/prestashop/README.md index e698d45..2362dd1 100644 --- a/prestashop/README.md +++ b/prestashop/README.md @@ -66,6 +66,20 @@ server { 3. Configure > Shop Parameters > General > Enable SSL on all pages +## Reset Admin Password + +```bash +$ docker-compose exec prestashop bash +>>> grep cookie app/config/parameters.php + 'cookie_key' => 'xxxxxx', +>>> exit + +$ docker-compose exec mysql mysql -uroot -proot prestashop +>>> select * from ps_employee where email='admin@easypi.pro'; +>>> update ps_employee set passwd=md5(concat("xxxxxx", "password")) where email='admin@easypi.pro'; +>>> select * from ps_employee where email='admin@easypi.pro'; +``` + ## Documentation