summaryrefslogtreecommitdiffstats
path: root/template/en/default/mfa
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2015-10-08 14:28:46 +0200
committerDylan William Hardison <dylan@hardison.net>2015-10-08 14:29:01 +0200
commitd6f47aa5f07a11a8771ce95f156b5394e67285a8 (patch)
treeaffa3ce076aacf5a7813e6e10415831d224b18f9 /template/en/default/mfa
parent4ce3037df61ddee7eb20e744853d0b3e3990dcac (diff)
downloadbugzilla-d6f47aa5f07a11a8771ce95f156b5394e67285a8.tar.gz
bugzilla-d6f47aa5f07a11a8771ce95f156b5394e67285a8.tar.xz
Bug 1200765 - Make login UX mobile friendly to assist mobile authentication workflow
Diffstat (limited to 'template/en/default/mfa')
-rw-r--r--template/en/default/mfa/totp/verify.html.tmpl24
1 files changed, 13 insertions, 11 deletions
diff --git a/template/en/default/mfa/totp/verify.html.tmpl b/template/en/default/mfa/totp/verify.html.tmpl
index ad75dc6bc..7314d909a 100644
--- a/template/en/default/mfa/totp/verify.html.tmpl
+++ b/template/en/default/mfa/totp/verify.html.tmpl
@@ -8,6 +8,7 @@
[% INCLUDE global/header.html.tmpl
title = "Account Verification"
+ allow_mobile = 1
%]
<h1>Account Verification</h1>
@@ -16,16 +17,17 @@
<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>
+<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 %]