diff options
author | 无闻 <u@gogs.io> | 2015-08-19 02:47:20 +0800 |
---|---|---|
committer | 无闻 <u@gogs.io> | 2015-08-19 02:47:20 +0800 |
commit | 4f682d6e4217fd0556db600cc9672a7b43336a0e (patch) | |
tree | 6f876dfba093c303af071a46a80dec9f5d78f892 | |
parent | 81b8427438d4d37d38a46d0fec4c22aee60f91fa (diff) | |
parent | bfa8ef68a69fd49294703f86138f88db791dcd26 (diff) | |
download | gitea-4f682d6e4217fd0556db600cc9672a7b43336a0e.tar.gz gitea-4f682d6e4217fd0556db600cc9672a7b43336a0e.zip |
Merge pull request #1504 from LydiaSevelt/master
Change input field to type=password for the authentication templates.
-rw-r--r-- | templates/admin/auth/edit.tmpl | 2 | ||||
-rw-r--r-- | templates/admin/auth/new.tmpl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/admin/auth/edit.tmpl b/templates/admin/auth/edit.tmpl index 2af8d54131..3fd772de63 100644 --- a/templates/admin/auth/edit.tmpl +++ b/templates/admin/auth/edit.tmpl @@ -49,7 +49,7 @@ </div> <div class="field"> <label for="bind_password">{{.i18n.Tr "admin.auths.bind_password"}}</label> - <input class="ipt ipt-large ipt-radius {{if .Err_BindPassword}}ipt-error{{end}}" id="bind_password" name="bind_password" value="{{.Source.LDAP.BindPassword}}" /> + <input class="ipt ipt-large ipt-radius {{if .Err_BindPassword}}ipt-error{{end}}" id="bind_password" name="bind_password" type="password" value="{{.Source.LDAP.BindPassword}}" /> </div> <div class="field"> <label class="req" for="user_base">{{.i18n.Tr "admin.auths.user_base"}}</label> diff --git a/templates/admin/auth/new.tmpl b/templates/admin/auth/new.tmpl index bad90cc419..80d7c266f2 100644 --- a/templates/admin/auth/new.tmpl +++ b/templates/admin/auth/new.tmpl @@ -45,7 +45,7 @@ </div> <div class="field"> <label class="req" for="bind_password">{{.i18n.Tr "admin.auths.bind_password"}}</label> - <input class="ipt ipt-large ipt-radius {{if .Err_BindPassword}}ipt-error{{end}}" id="bind_password" name="bind_password" value="{{.bind_password}}" /> + <input class="ipt ipt-large ipt-radius {{if .Err_BindPassword}}ipt-error{{end}}" id="bind_password" name="bind_password" type="password" value="{{.bind_password}}" /> </div> <div class="field"> <label class="req" for="user_base">{{.i18n.Tr "admin.auths.user_base"}}</label> |