summary refs log tree commit diff
diff options
context:
space:
mode:
authorSteven Hammerton <steven.hammerton@openmarket.com>2015-10-12 14:58:59 +0100
committerSteven Hammerton <steven.hammerton@openmarket.com>2015-10-12 14:58:59 +0100
commitab7f9bb861791b9415d80f0e71d7b4b867b0a445 (patch)
treef057f2c7f724ff290d8fd46ecdc004f5dddba981
parentRemove not required parenthesis (diff)
downloadsynapse-ab7f9bb861791b9415d80f0e71d7b4b867b0a445.tar.xz
Default cas_required_attributes to empty dictionary
Diffstat (limited to '')
-rw-r--r--synapse/config/cas.py2
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