Merge pull request #2683 from seckrv/fix_pwd_auth_prov_typo

synapse/config/password_auth_providers: Fixed bracket typo
This commit is contained in:
Richard van der Hoff 2017-12-18 22:37:21 +00:00 committed by GitHub
commit 3f9f1c50f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,10 +29,10 @@ class PasswordAuthProviderConfig(Config):
# param.
ldap_config = config.get("ldap_config", {})
if ldap_config.get("enabled", False):
providers.append[{
providers.append({
'module': LDAP_PROVIDER,
'config': ldap_config,
}]
})
providers.extend(config.get("password_providers", []))
for provider in providers: