mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-05-02 08:46:02 -04:00
Use a template for the SSO success page to allow for customization. (#7279)
This commit is contained in:
parent
701788a227
commit
054c231e58
6 changed files with 66 additions and 37 deletions
|
@ -43,6 +43,12 @@ class SSOConfig(Config):
|
|||
),
|
||||
"sso_account_deactivated_template",
|
||||
)
|
||||
self.sso_auth_success_template = self.read_file(
|
||||
os.path.join(
|
||||
self.sso_redirect_confirm_template_dir, "sso_auth_success.html"
|
||||
),
|
||||
"sso_auth_success_template",
|
||||
)
|
||||
|
||||
self.sso_client_whitelist = sso_config.get("client_whitelist") or []
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue