summaryrefslogtreecommitdiffstats
path: root/template/en/default/mfa/totp/verify.html.tmpl
blob: 7314d909a5be74f14b71338a6971184d11c55ae9 (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
32
33
[%# 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"
  allow_mobile = 1
%]

<h1>Account Verification</h1>

<p>
  <b>[% reason FILTER html %]</b> requires verification.<br>
  Please enter your verification code from your TOTP application:
</p>
<div class="verify-totp">
  <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>
</div>

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