Skip to content

Commit d055408

Browse files
committed
Bug 1213033 - please make the MFA code field type=numeric
1 parent bcb6edf commit d055408

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

template/en/default/mfa/totp/verify.html.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
[% FOREACH field IN postback.fields.keys %]
2323
<input type="hidden" name="[% field FILTER html %]" value="[% postback.fields.item(field) FILTER html %]">
2424
[% END %]
25-
<input type="text" name="code" id="code"
25+
<input type="[% is_mobile_browser ? "number" : "text" %]" name="code" id="code"
2626
placeholder="123456" maxlength="9" pattern="\d{6,9}" size="10"
2727
autocomplete="off" required autofocus><br>
2828
<br>

0 commit comments

Comments
 (0)