Merge pull request #18311 from edx/bderusha/pw-rollout-copy-change

Update copy for password compliance message to be more clear.
This commit is contained in:
Bill DeRusha
2018-06-06 09:12:01 -04:00
committed by GitHub

View File

@@ -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 to continue using the site. Thank you for helping us keep '
'your data safe.'
'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.'
).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. '
'Thank you for helping us keep your data safe.'
'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)