Skip to content
Snippets Groups Projects
Commit b258f019 authored by Dillon Dumesnil's avatar Dillon Dumesnil
Browse files

Fixing location of automatic password reset email

parent d97e7c73
No related merge requests found
......@@ -72,8 +72,8 @@ def enforce_compliance_on_login(user, password):
raise NonCompliantPasswordException(
_capitalize_first(_(
'{platform_name} now requires more complex passwords. Your current password does not meet the new '
'requirements. Change your password now using the "Forgot password?" link below to continue using the '
'site. Thank you for helping us keep your data safe.'
'requirements. A password reset e-mail has been sent to the address associated with this account.'
'Thank you for helping us keep your data safe.'
).format(
platform_name=settings.PLATFORM_NAME
))
......@@ -83,7 +83,8 @@ def enforce_compliance_on_login(user, password):
_capitalize_first(_(
'{platform_name} now requires more complex passwords. Your current password does not meet the new '
'requirements. You must change your password by {deadline} to be able to continue using the site. '
'A password reset e-mail has been sent to the address associated with this account.'
'To change your password, select the dropdown menu icon next to your username, then select "Account". '
'You can reset your password from this page. Thank you for helping us keep your data safe.'
).format(
platform_name=settings.PLATFORM_NAME,
deadline=strftime_localized(deadline, DEFAULT_SHORT_DATE_FORMAT)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment