0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-19 16:31:41 +01:00

Change two factor code entry box from text to number (#1733)

This commit is contained in:
Patrick G 2017-05-16 03:30:20 -04:00 committed by Lunny Xiao
parent bc299b8317
commit 03d6bab643

View file

@ -11,7 +11,7 @@
{{template "base/alert" .}} {{template "base/alert" .}}
<div class="required inline field"> <div class="required inline field">
<label for="passcode">{{.i18n.Tr "passcode"}}</label> <label for="passcode">{{.i18n.Tr "passcode"}}</label>
<input id="passcode" name="passcode" type="text" autocomplete="off" autofocus required> <input id="passcode" name="passcode" type="number" autocomplete="off" autofocus required>
</div> </div>
<div class="inline field"> <div class="inline field">