From bb9ebbe11bb2af0560e8a72d71c6f2ce47d58208 Mon Sep 17 00:00:00 2001 From: Abhishek Kumar Date: Thu, 24 Aug 2023 18:50:17 +0530 Subject: [PATCH] Remove password field from new account email sent to customer --- controllers/front/AuthController.php | 1 - mails/en/account.html | 1 - mails/en/account.txt | 2 -- 3 files changed, 4 deletions(-) diff --git a/controllers/front/AuthController.php b/controllers/front/AuthController.php index 320da13dd..e3eeb87b3 100644 --- a/controllers/front/AuthController.php +++ b/controllers/front/AuthController.php @@ -788,7 +788,6 @@ class AuthControllerCore extends FrontController '{firstname}' => $customer->firstname, '{lastname}' => $customer->lastname, '{email}' => $customer->email, - '{passwd}' => str_repeat('*', strlen(Tools::getValue('passwd'))), ), $customer->email, $customer->firstname.' '.$customer->lastname diff --git a/mails/en/account.html b/mails/en/account.html index 442df52ef..cd8acc616 100644 --- a/mails/en/account.html +++ b/mails/en/account.html @@ -90,7 +90,6 @@ Here are your login details:
E-mail address: {email}
- Password: {passwd}
diff --git a/mails/en/account.txt b/mails/en/account.txt index a655394b8..45c45c880 100644 --- a/mails/en/account.txt +++ b/mails/en/account.txt @@ -9,8 +9,6 @@ Here are your login details: E-MAIL ADDRESS: {email} -PASSWORD: {passwd} - Important Security Tips: * Always keep your account details safe.