prosody: fix ldap config template

This commit is contained in:
Timon Engelke
2020-03-24 18:45:24 +01:00
committed by Saúl Ibarra Corretgé
parent cd4a071ed4
commit f26c9e6bec

View File

@@ -1,7 +1,7 @@
{{ if eq (.Env.AUTH_TYPE | default "internal") "ldap" }} {{ if eq (.Env.AUTH_TYPE | default "internal") "ldap" }}
ldap_servers: {{ .Env.LDAP_URL }} ldap_servers: {{ .Env.LDAP_URL }}
ldap_search_base: {{ .Env.LDAP_BASE }} 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_dn: {{ .Env.LDAP_BINDDN }}
ldap_bind_pw: {{ .Env.LDAP_BINDPW }} ldap_bind_pw: {{ .Env.LDAP_BINDPW }}
{{ end }} {{ end }}