summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorPatrick G <geek1011@users.noreply.github.com>2017-05-16 03:30:20 -0400
committerLunny Xiao <xiaolunwen@gmail.com>2017-05-16 15:30:20 +0800
commit03d6bab64373e883beb6f4867432ad4f12112950 (patch)
treeb4a58fa5d40ad2deba078c71c8c0bbf8f1d9251e /templates
parentbc299b8317df8aadb37b9b7c11bac68fb1813ae3 (diff)
downloadgitea-03d6bab64373e883beb6f4867432ad4f12112950.tar.gz
gitea-03d6bab64373e883beb6f4867432ad4f12112950.zip
Change two factor code entry box from text to number (#1733)
Diffstat (limited to 'templates')
-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 6f61f1f3d9..56f9101500 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="text" autocomplete="off" autofocus required>
+ <input id="passcode" name="passcode" type="number" autocomplete="off" autofocus required>
</div>
<div class="inline field">