mirror of
https://github.com/go-gitea/gitea
synced 2024-12-29 17:54:41 +01:00
Improve 2FA autofill (#16473)
This improves the autofill suggestion on mobile devices and some password managers
This commit is contained in:
parent
ec357833bc
commit
fd3f149abd
1 changed files with 1 additions and 1 deletions
|
@ -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">
|
||||
|
|
Loading…
Reference in a new issue