remove $CleartextPassword and update wording on

ChangePasswordEmail.ss

4.x version of https://github.com/silverstripe/silverstripe-framework/pull/5194
This commit is contained in:
Christopher Darling 2016-03-22 08:42:41 +00:00
parent 03a3244d12
commit ceccd9551c
1 changed files with 2 additions and 6 deletions

View File

@ -2,10 +2,6 @@
<p>
<%t ChangePasswordEmail_ss.CHANGEPASSWORDTEXT1 'You changed your password for' is 'for a url' %> $AbsoluteBaseURL.<br />
<%t ChangePasswordEmail_ss.CHANGEPASSWORDTEXT2 'You can now use the following credentials to log in:' %>
</p>
<p>
<%t ChangePasswordEmail_ss.EMAIL 'Email' %>: $Email<br />
<%t ChangePasswordEmail_ss.PASSWORD 'Password' %>: $CleartextPassword
<%t ChangePasswordEmail_ss.CHANGEPASSWORDFOREMAIL 'The password for account with email address {email} has been changed. If you didn't change your password please change your password using the link below' email=$Email %><br />
<a href="Security/changepassword"><%t ChangePasswordEmail_ss.CHANGEPASSWORDTEXT3 'Change password' %></a>
</p>