aboutsummaryrefslogtreecommitdiffstats
path: root/templates/admin/auth/new.tmpl
diff options
context:
space:
mode:
authorSlavikZ <slavikz@pc>2015-12-09 20:55:35 +0200
committerSlavikZ <slavikz@pc>2015-12-09 21:02:19 +0200
commita19aaa439d0448b2407a3b96a8d5377938c22ded (patch)
treec2a6615f7ef161729561d02e30aef7b7a5381854 /templates/admin/auth/new.tmpl
parenteec06fb3df7a9dc30f758bb1a100b5f1e8e01ab9 (diff)
downloadgitea-a19aaa439d0448b2407a3b96a8d5377938c22ded.tar.gz
gitea-a19aaa439d0448b2407a3b96a8d5377938c22ded.zip
LDAP parameters UI: bind_dn and bind_password are not required
Diffstat (limited to 'templates/admin/auth/new.tmpl')
-rw-r--r--templates/admin/auth/new.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/admin/auth/new.tmpl b/templates/admin/auth/new.tmpl
index 481d0c6829..f06d3de7e3 100644
--- a/templates/admin/auth/new.tmpl
+++ b/templates/admin/auth/new.tmpl
@@ -40,12 +40,12 @@
<label for="port">{{.i18n.Tr "admin.auths.port"}}</label>
<input id="port" name="port" value="{{.port}}" placeholder="e.g. 636">
</div>
- <div class="ldap required field {{if not (eq .type 2)}}hide{{end}}">
+ <div class="ldap field {{if not (eq .type 2)}}hide{{end}}">
<label for="bind_dn">{{.i18n.Tr "admin.auths.bind_dn"}}</label>
<input id="bind_dn" name="bind_dn" value="{{.bind_dn}}" placeholder="e.g. cn=Search,dc=mydomain,dc=com">
</div>
<input class="fake" type="password">
- <div class="ldap required field {{if not (eq .type 2)}}hide{{end}}">
+ <div class="ldap field {{if not (eq .type 2)}}hide{{end}}">
<label for="bind_password">{{.i18n.Tr "admin.auths.bind_password"}}</label>
<input id="bind_password" name="bind_password" type="password" value="{{.bind_password}}">
<p class="help text red">{{.i18n.Tr "admin.auths.bind_password_helper"}}</p>