summaryrefslogtreecommitdiffstats
path: root/templates/admin/auth/source/ldap.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/admin/auth/source/ldap.tmpl')
-rw-r--r--templates/admin/auth/source/ldap.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/admin/auth/source/ldap.tmpl b/templates/admin/auth/source/ldap.tmpl
index 0c39d057a4..3386884ff1 100644
--- a/templates/admin/auth/source/ldap.tmpl
+++ b/templates/admin/auth/source/ldap.tmpl
@@ -30,7 +30,7 @@
<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>
</div>
- <div class="ldap required field {{if not (eq .type 2)}}hide{{end}}">
+ <div class="binddnrequired {{if (eq .type 2)}}required{{end}} field">
<label for="user_base">{{.i18n.Tr "admin.auths.user_base"}}</label>
<input id="user_base" name="user_base" value="{{.user_base}}" placeholder="e.g. ou=Users,dc=mydomain,dc=com">
</div>