Skip to content

Commit

Permalink
Merge pull request #703 from AlexanderFengFeng/forgot_password
Browse files Browse the repository at this point in the history
Forgot password displays better instructions
  • Loading branch information
wasade authored Jul 17, 2018
2 parents ef4aa18 + 0b308a9 commit 65248ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion amgut/lib/locale_data/american_gut.py
Original file line number Diff line number Diff line change
Expand Up @@ -813,7 +813,7 @@
_FORGOT_PASSWORD = {'ENTER_ID_EMAIL': 'Enter your Kit ID and email',
'KIT_ID': 'Kit ID:',
'EMAIL': 'E-mail',
'EMAIL_RESET_PASSWORD': 'You will receive an email shortly with instructions to reset your password. Please check your email because you need to reset your password within two hours.',
'EMAIL_RESET_PASSWORD': 'You will receive an email shortly with instructions to reset your password. Please check your email because you need to reset your password within two hours. If you are unable to find the email within 5 minutes, you may need to check your spam folder.<p>Additionally, attempting to access the email\'s link through your mobile device will not work and you will unfortunately have to use a computer.</p>',
'EMAIL_FAILED': '<p>There was a problem sending you the password reset code. Please contact us directly at <a href=\"mailto:%(help_email)s\" target=\"_blank\">%(help_email)s</a>.</p><p>Email contained: </p>' % {'help_email': media_locale['HELP_EMAIL']},
'NO_RECORD': '<p style="color:red;">This information does not match our records</p><p>Please email <a href="mailto:%(help_email)s">directly</a> for further assistance<p>' % {'help_email': media_locale['HELP_EMAIL']},
'SEND_EMAIL': 'Send email'}
Expand Down
2 changes: 1 addition & 1 deletion amgut/lib/locale_data/british_gut.py
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,7 @@

_FORGOT_PASSWORD = {
'EMAIL_FAILED': '<p>There was a problem sending you the password reset code. Please contact us directly at <a href="mailto:%(help_email)s" target="_blank">%(help_email)s</a>.</p><p>Email contained: </p>' % {'help_email': media_locale['HELP_EMAIL']},
'EMAIL_RESET_PASSWORD': "You will receive an email shortly with instructions to reset your password. Please check your email because you need to reset your password within two hours.",
'EMAIL_RESET_PASSWORD': 'You will receive an email shortly with instructions to reset your password. Please check your email because you need to reset your password within two hours. If you are unable to find the email within 5 minutes, you may need to check your spam folder.<p>Additionally, attempting to access the email\'s link through your mobile device will not work and you will unfortunately have to use a computer.</p>',
'KIT_ID': "Kit ID:",
'ENTER_ID_EMAIL': "Enter your Kit ID and email",
'NO_RECORD': '<p style="color:red;">This information does not match our records</p><p>Please email <a href="mailto:%(help_email)s">directly</a> for further assistance<p>',
Expand Down

0 comments on commit 65248ea

Please sign in to comment.