mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-28 02:49:24 -05:00
Default cas_required_attributes to empty dictionary
This commit is contained in:
parent
7f8fdc9814
commit
ab7f9bb861
@ -27,7 +27,7 @@ class CasConfig(Config):
|
|||||||
if cas_config:
|
if cas_config:
|
||||||
self.cas_enabled = True
|
self.cas_enabled = True
|
||||||
self.cas_server_url = cas_config["server_url"]
|
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:
|
else:
|
||||||
self.cas_enabled = False
|
self.cas_enabled = False
|
||||||
self.cas_server_url = None
|
self.cas_server_url = None
|
||||||
|
Loading…
Reference in New Issue
Block a user