diff options
author | Steven Hammerton <steven.hammerton@openmarket.com> | 2015-10-12 14:58:59 +0100 |
---|---|---|
committer | Steven Hammerton <steven.hammerton@openmarket.com> | 2015-10-12 14:58:59 +0100 |
commit | ab7f9bb861791b9415d80f0e71d7b4b867b0a445 (patch) | |
tree | f057f2c7f724ff290d8fd46ecdc004f5dddba981 /synapse/config | |
parent | Remove not required parenthesis (diff) | |
download | synapse-ab7f9bb861791b9415d80f0e71d7b4b867b0a445.tar.xz |
Default cas_required_attributes to empty dictionary
Diffstat (limited to '')
-rw-r--r-- | synapse/config/cas.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/config/cas.py b/synapse/config/cas.py index e884d03fe6..d268680729 100644 --- a/synapse/config/cas.py +++ b/synapse/config/cas.py @@ -27,7 +27,7 @@ class CasConfig(Config): if cas_config: self.cas_enabled = True self.cas_server_url = cas_config["server_url"] - self.cas_required_attributes = cas_config.get("required_attributes", None) + self.cas_required_attributes = cas_config.get("required_attributes", {}) else: self.cas_enabled = False self.cas_server_url = None |