summaryrefslogtreecommitdiffstats
path: root/template/en/default/mfa/totp/verify.html.tmpl
blob: ad75dc6bc1cbc7388a3f67354f6891407da44f44 (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
26
27
28
29
30
31
[%# This Source Code Form is subject to the terms of the Mozilla Public
  # License, v. 2.0. If a copy of the MPL was not distributed with this
  # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  #
  # This Source Code Form is "Incompatible With Secondary Licenses", as
  # defined by the Mozilla Public License, v. 2.0.
  #%]

[% INCLUDE global/header.html.tmpl
  title = "Account Verification"
%]

<h1>Account Verification</h1>

<p>
  <b>[% reason FILTER html %]</b> requires verification.<br>
  Please enter your verification code from your TOTP application:
</p>

<form method="POST" action="[% postback.action FILTER none %]">
  [% FOREACH field IN postback.fields.keys %]
    <input type="hidden" name="[% field FILTER html %]" value="[% postback.fields.item(field) FILTER html %]">
  [% END %]
  <input type="text" name="code" id="code"
        placeholder="123456" maxlength="9" pattern="\d{6,9}" size="10"
        autocomplete="off" required autofocus><br>
  <br>
  <input type="submit" value="Submit">
</form>

[% INCLUDE global/footer.html.tmpl %]