Send 2fa email and move user to waiting page when they need to re-validate email access

This commit is contained in:
Pea Tyczynska
2020-01-27 18:10:45 +00:00
parent a4fb1b6c06
commit caf77341b3
8 changed files with 100 additions and 8 deletions

View File

@@ -0,0 +1,24 @@
{% extends "withoutnav_template.html" %}
{% from "components/page-footer.html" import page_footer %}
{% block per_page_title %}
{{ title }}
{% endblock %}
{% block maincolumn_content %}
<div class="grid-row">
<div class="column-two-thirds">
<h1 class="heading-large">{{ title }}</h1>
<p>For security reasons we need to check if you still have access to your email.
Hence, we have emailed you a link to sign in to Notify.</p>
<p>If your email address has changed, ask a member of your team to update your email address. Then click re-send.</p>
<p>Clicking the link will open Notify in a new browser window, so you can close this one.</p>
{{ page_footer(
secondary_link=url_for('main.email_not_received'),
secondary_link_text='Not received an email?'
) }}
</div>
</div>
{% endblock %}