delete password_providers on update

This commit is contained in:
Girish Ramakrishnan
2021-08-02 22:58:45 -07:00
parent 79c17c17f1
commit de44651747

View File

@@ -69,6 +69,8 @@ if [[ -n "${CLOUDRON_LDAP_SERVER:-}" ]]; then
else
yq eval -i ".password_config.localdb_enabled=true" /app/data/configs/homeserver.yaml
# just setting enabled to false is not enough. see https://github.com/matrix-org/matrix-synapse-ldap3/issues/123
yq eval -i "del(.password_providers)" /app/data/configs/homeserver.yaml
fi
# turn (https://github.com/matrix-org/synapse/blob/master/docs/turn-howto.md#synapse-setup)