diff --git a/templates/email/ChangePasswordEmail.ss b/templates/email/ChangePasswordEmail.ss index ada6b4a91..3e3f05f54 100644 --- a/templates/email/ChangePasswordEmail.ss +++ b/templates/email/ChangePasswordEmail.ss @@ -6,6 +6,9 @@
- <%t ChangePasswordEmail_ss.EMAIL 'Email' %>: $Email
- <%t ChangePasswordEmail_ss.PASSWORD 'Password' %>: $CleartextPassword
+ <%t ChangePasswordEmail_ss.EMAIL 'Email' %>: $Email
+ <% if $CleartextPassword %>
+
+ <%t ChangePasswordEmail_ss.PASSWORD 'Password' %>: $CleartextPassword
+ <% end_if %>