prosody: introduce AUTH_TYPE
It simplifies selecting the desired authentication type, instead of having a boolean for each.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{{ if .Env.ENABLE_LDAP_AUTH | default "0" | toBool }}
|
||||
{{ if eq (.Env.AUTH_TYPE | default "internal") "ldap" }}
|
||||
ldap_servers: {{ .Env.LDAP_URL }}
|
||||
ldap_search_base: {{ .Env.LDAP_BASE }}
|
||||
ldap_bind_dn: {{ .Env.LDAP_BINDDN }}
|
||||
|
||||
Reference in New Issue
Block a user