diff options
author | Richard van der Hoff <richard@matrix.org> | 2019-02-19 13:54:29 +0000 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2019-02-19 13:54:29 +0000 |
commit | 5f9bdf90fe6baf12972d9f94557b3077f008cd9b (patch) | |
tree | ecfaa199e18456ac77f869ec0d2a98cbf2575d94 /synapse/config/password_auth_providers.py | |
parent | clarify TLS instructions (diff) | |
download | synapse-5f9bdf90fe6baf12972d9f94557b3077f008cd9b.tar.xz |
Attempt to make default config more consistent
The general idea here is that config examples should just have a hash and no extraneous whitespace, both to make it easier for people who don't understand yaml, and to make the examples stand out from the comments.
Diffstat (limited to 'synapse/config/password_auth_providers.py')
-rw-r--r-- | synapse/config/password_auth_providers.py | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/synapse/config/password_auth_providers.py b/synapse/config/password_auth_providers.py index f4066abc28..f0a6be0679 100644 --- a/synapse/config/password_auth_providers.py +++ b/synapse/config/password_auth_providers.py @@ -52,18 +52,18 @@ class PasswordAuthProviderConfig(Config): def default_config(self, **kwargs): return """\ - # password_providers: - # - module: "ldap_auth_provider.LdapAuthProvider" - # config: - # enabled: true - # uri: "ldap://ldap.example.com:389" - # start_tls: true - # base: "ou=users,dc=example,dc=com" - # attributes: - # uid: "cn" - # mail: "email" - # name: "givenName" - # #bind_dn: - # #bind_password: - # #filter: "(objectClass=posixAccount)" + #password_providers: + # - module: "ldap_auth_provider.LdapAuthProvider" + # config: + # enabled: true + # uri: "ldap://ldap.example.com:389" + # start_tls: true + # base: "ou=users,dc=example,dc=com" + # attributes: + # uid: "cn" + # mail: "email" + # name: "givenName" + # #bind_dn: + # #bind_password: + # #filter: "(objectClass=posixAccount)" """ |