Skip to content

Commit

Permalink
Improve 2FA autofill
Browse files Browse the repository at this point in the history
This improves the autofill suggestion on mobile devices and some password managers
  • Loading branch information
Jonher937 authored Jul 17, 2021
1 parent ec35783 commit 3056d91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/user/auth/twofa.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down

0 comments on commit 3056d91

Please sign in to comment.