mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 07:46:23 -04:00
Turn on redirects for two_factor_email_sent
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:
@@ -24,7 +24,8 @@ def two_factor_email_sent():
|
||||
title = 'Email resent' if request.args.get('email_resent') else 'Check your email'
|
||||
return render_template(
|
||||
'views/two-factor-email.html',
|
||||
title=title
|
||||
title=title,
|
||||
redirect_url=request.args.get('next')
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user