mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-05 08:31:00 -04:00
Updated to include corrected flash message.
This commit is contained in:
@@ -71,9 +71,9 @@ def sign_in():
|
||||
return redirect(url_for('.two_factor'))
|
||||
# Vague error message for login in case of user not known, locked, inactive or password not verified
|
||||
flash(Markup((
|
||||
"The username or password you entered is incorrect.<br/>"
|
||||
" If you need to, you can <a href={password_reset}>reset "
|
||||
"your password</a>").format(password_reset=url_for('.forgot_password'))
|
||||
"The email address or password you entered is incorrect."
|
||||
" <a href={password_reset}>Forgot your password</a>?"
|
||||
).format(password_reset=url_for('.forgot_password'))
|
||||
))
|
||||
|
||||
return render_template('views/signin.html', form=form)
|
||||
|
||||
Reference in New Issue
Block a user