Skip to content
Snippets Groups Projects
Unverified Commit 3f9f1c50 authored by Richard van der Hoff's avatar Richard van der Hoff Committed by GitHub
Browse files

Merge pull request #2683 from seckrv/fix_pwd_auth_prov_typo

synapse/config/password_auth_providers: Fixed bracket typo
parents 48fa4e1e 6f05de0e
Branches
Tags
No related merge requests found
...@@ -29,10 +29,10 @@ class PasswordAuthProviderConfig(Config): ...@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment