Added two-factor resending to sign in flow.

Assumes user will have to get an admin to update phone number if lost.
This commit is contained in:
Chris Heathcote
2015-11-30 16:41:05 +00:00
parent b2ca6343a7
commit 1e08c9b1a8
3 changed files with 30 additions and 1 deletions

View File

@@ -131,3 +131,8 @@ def servicesettings():
@main.route("/api-keys")
def apikeys():
return render_template('api-keys.html')
@main.route("/verification-not-received")
def verificationnotreceived():
return render_template('verification-not-received.html')

View File

@@ -16,7 +16,7 @@ Hello world!
<label class="form-label" for="email">Text message verification code<br>
<span class="font-xsmall">Enter the code we sent you by email</span></label>
<input class="form-control-1-4" id="email" type="text"><br>
<span class="font-xsmall"><a href="">I haven't received a text</a></span>
<span class="font-xsmall"><a href="verification-not-received">I haven't received a text</a></span>
</p>
<p>

View File

@@ -0,0 +1,24 @@
{% extends "admin_template.html" %}
{% block page_title %}
GOV.UK Notify
{% endblock %}
{% block content %}
<div class="grid-row">
<div class="column-two-thirds">
<h1 class="heading-xlarge">Resend verification code</h1>
<p>Text messages sometimes take a few minutes to be received. <br> If you have not received a text message, you can resend.</p>
<p>If you no longer have access to your mobile phone and registered number, get in contact with your service manager to reset your number.</p>P>
<p>
<a class="button" href="two-factor" role="button">Resend confirmation code</a>
</p>
</div>
</div>
{% endblock %}