Take out the Canadian politeness.

Make the error message more consistent.
Extracted common fields for the forms.
This commit is contained in:
Rebecca Law
2016-01-08 12:00:52 +00:00
parent f951b364ac
commit ceb78f49b4
4 changed files with 58 additions and 60 deletions

View File

@@ -13,7 +13,7 @@ def forgot_password():
send_change_password_email(form.email_address.data)
return render_template('views/password-reset-sent.html')
else:
flash('The email address is not recognized. Try again.')
flash('The email address is not recognized. Enter the password you registered with.')
return render_template('views/forgot-password.html', form=form)
else:
return render_template('views/forgot-password.html', form=form)