mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 10:53:28 -05:00
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:
@@ -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')
|
||||
|
||||
@@ -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>
|
||||
|
||||
24
app/templates/verification-not-received.html
Normal file
24
app/templates/verification-not-received.html
Normal 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 %}
|
||||
Reference in New Issue
Block a user