summary refs log tree commit diff
diff options
context:
space:
mode:
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