mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-23 09:29:14 -04:00
Turn on redirects for email_not_received
This is part of the work to make sure user is redirected to the page they initially were meant to visit after they sign in.
This commit is contained in:
@@ -49,7 +49,8 @@ def check_and_resend_verification_code():
|
||||
@main.route('/email-not-received', methods=['GET'])
|
||||
@redirect_to_sign_in
|
||||
def email_not_received():
|
||||
return render_template('views/email-not-received.html')
|
||||
redirect_url = request.args.get('next')
|
||||
return render_template('views/email-not-received.html', redirect_url=redirect_url)
|
||||
|
||||
|
||||
@main.route('/send-new-email-token', methods=['GET'])
|
||||
|
||||
Reference in New Issue
Block a user