Skip to content

Commit

Permalink
CO: Remove password variable from emails
Browse files Browse the repository at this point in the history
  • Loading branch information
maximebiloe committed Jul 20, 2016
1 parent 5ec97e4 commit 792415f
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 26 deletions.
5 changes: 2 additions & 3 deletions mails/en/account.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,8 @@
<p data-html-only="1" style="border-bottom:1px solid #D6D4D4;margin:3px 0 7px;text-transform:uppercase;font-weight:500;font-size:18px;padding-bottom:10px">
Your {shop_name} login details </p>
<span style="color:#777">
Here are your login details:<br />
<span style="color:#333"><strong>E-mail address: <a href="mailto:{email}" style="color:#337ff1">{email}</a></strong></span><br />
<span style="color:#333"><strong>Password:</strong></span> {passwd}
Here are your login details:<br />
<span style="color:#333"><strong>E-mail address: <a href="mailto:{email}" style="color:#337ff1">{email}</a></strong></span>
</span>
</font>
</td>
Expand Down
4 changes: 1 addition & 3 deletions mails/en/account.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ Thank you for creating a customer account at {shop_name}.

Here are your login details:

E-MAIL ADDRESS: {email}

PASSWORD: {passwd}
E-MAIL ADDRESS: {email}

Important Security Tips:

Expand Down
1 change: 0 additions & 1 deletion mails/en/employee_password.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@
Here is your personal login information for <span style="color:#333"><strong>{shop_name}</strong></span>:<br/><br/>
<span style="color:#333"><strong>First name:</strong></span> {firstname}<br />
<span style="color:#333"><strong>Last name:</strong></span> {lastname}<br />
<span style="color:#333"><strong>Password:</strong></span> {passwd}<br />
<span style="color:#333"><strong>E-mail address:</strong></span> {email}
</span>
</font>
Expand Down
2 changes: 0 additions & 2 deletions mails/en/employee_password.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ FIRST NAME: {firstname}

LAST NAME: {lastname}

PASSWORD: {passwd}

E-MAIL ADDRESS: {email}

{shop_name} [{shop_url}] powered by
Expand Down
5 changes: 2 additions & 3 deletions mails/en/guest_to_customer.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,8 @@
<p data-html-only="1" style="border-bottom:1px solid #D6D4D4;margin:3px 0 7px;text-transform:uppercase;font-weight:500;font-size:18px;padding-bottom:10px">
Your customer account creation </p>
<span style="color:#777">
Your guest account for <span style="color:#333"><strong>{shop_name}</strong></span> was converted to a customer account. <br /><br />
<span style="color:#333"><strong>E-mail address:</strong></span> {email}<br /><br />
<span style="color:#333"><strong>Password:</strong></span> {passwd}
Your guest account for <span style="color:#333"><strong>{shop_name}</strong></span> has been transformed into a customer account. <br /><br />
<span style="color:#333"><strong>E-mail address:</strong></span> {email}
</span>
</font>
</td>
Expand Down
8 changes: 3 additions & 5 deletions mails/en/guest_to_customer.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@

Hi {firstname} {lastname},

Your guest account for {shop_name} was converted to a customer
account.
Your guest account for {shop_name} has been transformed into a
customer account.

E-MAIL ADDRESS: {email}

PASSWORD: {passwd}
E-MAIL ADDRESS: {email}

Please be careful when sharing these login details with others.

Expand Down
3 changes: 1 addition & 2 deletions mails/en/password.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,7 @@
<p data-html-only="1" style="border-bottom:1px solid #D6D4D4;margin:3px 0 7px;text-transform:uppercase;font-weight:500;font-size:18px;padding-bottom:10px">
Your new {shop_name} login details </p>
<span style="color:#777">
<span style="color:#333"><strong>E-mail address:</strong></span> {email}<br/>
<span style="color:#333"><strong>Password:</strong></span> {passwd}
<span style="color:#333"><strong>E-mail address:</strong></span> {email}
</span>
</font>
</td>
Expand Down
12 changes: 5 additions & 7 deletions mails/en/password.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,17 @@

Hi {firstname} {lastname},

E-MAIL ADDRESS: {email}

PASSWORD: {passwd}
E-MAIL ADDRESS: {email}

You can review your order and download your invoice from the
"Order history" [{history_url}] section of your
customer account by clicking "My account"
"Order history" [{history_url}] section
of your customer account by clicking "My account"
[{my_account_url}] on our shop.

If you have a guest account, you can follow your order via the
"Guest Tracking"
[{guest_tracking_url}?id_order={order_name}] section
on our shop.
[{guest_tracking_url}?id_order={order_name}]
section on our shop.

{shop_name} [{shop_url}] powered by
PrestaShop(tm) [http://www.prestashop.com/]
Expand Down

0 comments on commit 792415f

Please sign in to comment.