aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-08-19 02:50:03 +0800
committerUnknwon <u@gogs.io>2015-08-19 02:50:03 +0800
commit2e8ffc2ffb31379998142e807f0066d5d9846c2c (patch)
treeb3d71e19ec2127b85ae2c0d2e30afe2b4eae8413
parent249345458737e4db5a06250593787b483726dff0 (diff)
parent4f682d6e4217fd0556db600cc9672a7b43336a0e (diff)
downloadgitea-2e8ffc2ffb31379998142e807f0066d5d9846c2c.tar.gz
gitea-2e8ffc2ffb31379998142e807f0066d5d9846c2c.zip
Merge branch 'develop' of github.com:gogits/gogs into develop
-rw-r--r--templates/admin/auth/edit.tmpl2
-rw-r--r--templates/admin/auth/new.tmpl2
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>