diff options
author | Gabriel RodrÃguez <gabrc52@gmail.com> | 2023-08-11 16:15:17 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-11 20:15:17 +0000 |
commit | 9ff84bccbb152460913d63d4b8e9dffc220adfea (patch) | |
tree | 2ccf3015f1bc8677c89831c0c1a79fc0aec51b02 /synapse/config/cas.py | |
parent | Add linearizer on user ID to push rule PUT/DELETE requests (#16052) (diff) | |
download | synapse-9ff84bccbb152460913d63d4b8e9dffc220adfea.tar.xz |
Allow customizing IdP name and icon for SAML and CAS (#16094)
Diffstat (limited to 'synapse/config/cas.py')
-rw-r--r-- | synapse/config/cas.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/synapse/config/cas.py b/synapse/config/cas.py index 9152c06bd6..c4e63e7411 100644 --- a/synapse/config/cas.py +++ b/synapse/config/cas.py @@ -47,6 +47,10 @@ class CasConfig(Config): required_attributes ) + self.idp_name = cas_config.get("idp_name", "CAS") + self.idp_icon = cas_config.get("idp_icon") + self.idp_brand = cas_config.get("idp_brand") + else: self.cas_server_url = None self.cas_service_url = None |