summaryrefslogtreecommitdiffstats
path: root/templates/admin/auth/new.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/admin/auth/new.tmpl')
-rw-r--r--templates/admin/auth/new.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/admin/auth/new.tmpl b/templates/admin/auth/new.tmpl
index 6c38ec5b5d..5b5a81acc9 100644
--- a/templates/admin/auth/new.tmpl
+++ b/templates/admin/auth/new.tmpl
@@ -122,7 +122,7 @@
<input name="tls" type="checkbox" {{if .tls}}checked{{end}}>
</div>
</div>
- <div class="smtp inline field {{if not (eq .type 3)}}hide{{end}}">
+ <div class="ldap dldap smtp inline field {{if not (or (or (eq .type 2) (eq .type 5)) (eq .type 3))}}hide{{end}}">
<div class="ui checkbox">
<label><strong>{{.i18n.Tr "admin.auths.skip_tls_verify"}}</strong></label>
<input name="skip_verify" type="checkbox" {{if .skip_verify}}checked{{end}}>