1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-22 17:34:03 +03:00

install admin password field fix

Admin Password field in install form must be of type password
This commit is contained in:
Fernando San Julián 2015-07-23 11:46:20 +02:00
parent 548b95f7b5
commit 30beb59fd8

View File

@ -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" .}}
{{template "base/footer" .}}