浏览代码

prosody: fix ldap config template

Timon Engelke 5 年之前
父节点
当前提交
f26c9e6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      prosody/rootfs/defaults/saslauthd.conf

+ 1 - 1
prosody/rootfs/defaults/saslauthd.conf

@@ -1,7 +1,7 @@
 {{ if eq (.Env.AUTH_TYPE | default "internal") "ldap" }}
 ldap_servers: {{ .Env.LDAP_URL }}
 ldap_search_base: {{ .Env.LDAP_BASE }}
-{{ if .Env.LDAP_BINDDN | default "" | toBool }}
+{{ if .Env.LDAP_BINDDN | default "" }}
 ldap_bind_dn: {{ .Env.LDAP_BINDDN }}
 ldap_bind_pw: {{ .Env.LDAP_BINDPW }}
 {{ end }}