aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/user/auth/twofa.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/user/auth/twofa.tmpl b/templates/user/auth/twofa.tmpl
index 68b474c866..a9ed66c431 100644
--- a/templates/user/auth/twofa.tmpl
+++ b/templates/user/auth/twofa.tmpl
@@ -11,7 +11,7 @@
{{template "base/alert" .}}
<div class="required inline field">
<label for="passcode">{{.i18n.Tr "passcode"}}</label>
- <input id="passcode" name="passcode" type="number" autocomplete="off" autofocus required>
+ <input id="passcode" name="passcode" type="text" autocomplete="one-time-code" inputmode="numeric" pattern="[0-9]*" autofocus required>
</div>
<div class="inline field">