diff options
author | Unknwon <u@gogs.io> | 2015-08-19 02:50:03 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-08-19 02:50:03 +0800 |
commit | 2e8ffc2ffb31379998142e807f0066d5d9846c2c (patch) | |
tree | b3d71e19ec2127b85ae2c0d2e30afe2b4eae8413 | |
parent | 249345458737e4db5a06250593787b483726dff0 (diff) | |
parent | 4f682d6e4217fd0556db600cc9672a7b43336a0e (diff) | |
download | gitea-2e8ffc2ffb31379998142e807f0066d5d9846c2c.tar.gz gitea-2e8ffc2ffb31379998142e807f0066d5d9846c2c.zip |
Merge branch 'develop' of github.com:gogits/gogs into develop
-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> |