forked from MirrorHub/synapse
synapse/config/password_auth_providers: Fixed bracket typo
Signed-off-by: Richard von Seck <richard.von-seck@gmx.net>
This commit is contained in:
parent
f959c01600
commit
6f05de0e5e
1 changed files with 2 additions and 2 deletions
|
@ -29,10 +29,10 @@ class PasswordAuthProviderConfig(Config):
|
||||||
# param.
|
# param.
|
||||||
ldap_config = config.get("ldap_config", {})
|
ldap_config = config.get("ldap_config", {})
|
||||||
if ldap_config.get("enabled", False):
|
if ldap_config.get("enabled", False):
|
||||||
providers.append[{
|
providers.append({
|
||||||
'module': LDAP_PROVIDER,
|
'module': LDAP_PROVIDER,
|
||||||
'config': ldap_config,
|
'config': ldap_config,
|
||||||
}]
|
})
|
||||||
|
|
||||||
providers.extend(config.get("password_providers", []))
|
providers.extend(config.get("password_providers", []))
|
||||||
for provider in providers:
|
for provider in providers:
|
||||||
|
|
Loading…
Reference in a new issue