Jump to content

Edit History

klymets1

klymets1

On 12/10/2019 at 7:19 PM, Caracal said:

I solved this problem in my PrestaShop 1.7.6.1.

{passwd} variable was not defined in: /controllers/front/PasswordController.php ---> changePassword function --->  $mail_params Array

I added in $mail_params key and value: '{passwd}' => $password


                        $mail_params = [
                            '{email}' => $customer->email,
                            '{lastname}' => $customer->lastname,
                            '{firstname}' => $customer->firstname,
                            '{passwd}' => $password,
                        ];

It working for me.   

What was added to the email template?

GMUrKco.png

Password does not come.

The cache is cleared. In the var directory as well.

klymets1

klymets1

On 12/10/2019 at 7:19 PM, Caracal said:

I solved this problem in my PrestaShop 1.7.6.1.

{passwd} variable was not defined in: /controllers/front/PasswordController.php ---> changePassword function --->  $mail_params Array

I added in $mail_params key and value: '{passwd}' => $password


                        $mail_params = [
                            '{email}' => $customer->email,
                            '{lastname}' => $customer->lastname,
                            '{firstname}' => $customer->firstname,
                            '{passwd}' => $password,
                        ];

It working for me.   

What was added to the email template?

×
×
  • Create New...