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:
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue