summaryrefslogtreecommitdiffstats
path: root/templates/install.tmpl
diff options
context:
space:
mode:
authorFernando San Julián <manferwebs@gmail.com>2015-07-23 11:46:20 +0200
committerFernando San Julián <manferwebs@gmail.com>2015-07-23 11:46:20 +0200
commit30beb59fd8fdf2ae06cc0253930deb9434bb8a10 (patch)
tree74626a65a640ea07ca22ad0ba69bf3a0645c7124 /templates/install.tmpl
parent548b95f7b593d80a241c9a1027eda6b4549ca995 (diff)
downloadgitea-30beb59fd8fdf2ae06cc0253930deb9434bb8a10.tar.gz
gitea-30beb59fd8fdf2ae06cc0253930deb9434bb8a10.zip
install admin password field fix
Admin Password field in install form must be of type password
Diffstat (limited to 'templates/install.tmpl')
-rw-r--r--templates/install.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/install.tmpl b/templates/install.tmpl
index ece78859e9..df98737626 100644
--- a/templates/install.tmpl
+++ b/templates/install.tmpl
@@ -187,7 +187,7 @@
</div>
<div class="inline field {{if .Err_AdminPasswd}}error{{end}}">
<label for="admin_passwd">{{.i18n.Tr "install.admin_password"}}</label>
- <input id="admin_passwd" name="admin_passwd" value="{{.admin_passwd}}">
+ <input id="admin_passwd" name="admin_passwd" type="password" value="{{.admin_passwd}}">
</div>
<div class="inline field {{if .Err_AdminPasswd}}error{{end}}">
<label for="admin_confirm_passwd">{{.i18n.Tr "install.confirm_password"}}</label>
@@ -210,4 +210,4 @@
</div>
</div>
</div>
-{{template "base/footer" .}} \ No newline at end of file
+{{template "base/footer" .}}