blob: bd6a7bd18051c72dc032dbcc0d9c9ee02025c88d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
[% INCLUDE 'header.html', bodyclass = 'fullwidthpage', title = loc('Confirm account') %]
<div class="confirmation-header confirmation-header--phone">
[% IF incorrect_code %]
<h1>[% loc('Sorry, that wasn’t the correct code') %]</h1>
<p>[% loc('Try again') %]:</p>
[% ELSE %]
<h1>[% loc("Nearly done! Now check your phone…") %]</h1>
<p>[% loc("Please generate a two-factor code and enter it below:") %]</p>
[% END %]
<form action="/auth" method="post">
<input type="hidden" name="username" value="[% c.get_param('username') | html %]">
<input type="hidden" name="password_sign_in" value="[% c.get_param('password_sign_in') | html %]">
<input type="hidden" name="r" value="[% c.get_param('r') | html %]">
<input type="hidden" name="token" value="[% token | html %]">
<label for="2fa_code">[% loc('Code') %]</label>
<div class="form-txt-submit-box">
<input autofocus class="form-control" type="number" id="2fa_code" name="2fa_code" value="" required>
<input type="submit" value="[% loc('Submit') %]" class="btn-primary">
</div>
</form>
</div>
[% INCLUDE 'footer.html' %]
|