Turn on redirects two_factor

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:
Pea Tyczynska
2020-10-09 11:42:21 +01:00
parent a531c888ba
commit 44ddee23ac
3 changed files with 22 additions and 8 deletions

View File

@@ -22,7 +22,7 @@
}) }}
{{ page_footer(
"Continue",
secondary_link=url_for('main.check_and_resend_text_code'),
secondary_link=url_for('main.check_and_resend_text_code', next=redirect_url),
secondary_link_text='Not received a text message?'
) }}
{% endcall %}