[__matrix_synapse] fix typo/error in LDAP configuration handling

This commit is contained in:
fnux 2021-02-22 13:12:47 +01:00
parent f27e65f8e0
commit d589993c6d
No known key found for this signature in database
GPG key ID: 4502C902C00A1E12

View file

@ -147,7 +147,7 @@ export DATABASE_ENGINE DATABASE_NAME DATABASE_HOST DATABASE_USER \
DATABASE_PASSWORD
# LDAP-based authentication.
if [ -f "$__object/enable-ldap-auth" ]; then
if [ -f "$__object/parameter/enable-ldap-auth" ]; then
ENABLE_LDAP_AUTH=$(get_boolean_for 'enable-ldap-auth')
export ENABLE_LDAP_AUTH
fi