summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2015-10-09 05:59:46 +0200
committerByron Jones <glob@mozilla.com>2015-10-09 05:59:46 +0200
commitd055408248158b16a8e2d707d958939696fb3fd6 (patch)
tree805a2ab2c7d5ce8f520d7bc0a80e291669efe3e3 /template
parentbcb6edf34b569d2bb9cb3d2d29981d12fdb6b8dd (diff)
downloadbugzilla-d055408248158b16a8e2d707d958939696fb3fd6.tar.gz
bugzilla-d055408248158b16a8e2d707d958939696fb3fd6.tar.xz
Bug 1213033 - please make the MFA code field type=numeric
Diffstat (limited to 'template')
-rw-r--r--template/en/default/mfa/totp/verify.html.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/en/default/mfa/totp/verify.html.tmpl b/template/en/default/mfa/totp/verify.html.tmpl
index 7314d909a..9b0dd5013 100644
--- a/template/en/default/mfa/totp/verify.html.tmpl
+++ b/template/en/default/mfa/totp/verify.html.tmpl
@@ -22,7 +22,7 @@
[% 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"
+ <input type="[% is_mobile_browser ? "number" : "text" %]" name="code" id="code"
placeholder="123456" maxlength="9" pattern="\d{6,9}" size="10"
autocomplete="off" required autofocus><br>
<br>