diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2020-04-17 13:34:55 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-17 13:34:55 -0400 |
commit | 054c231e58eb8a93ff04a81341190aa3b6bcb9f7 (patch) | |
tree | 6dd6cea76eba8764b1a9a38974b67577a5081dc1 /synapse/config | |
parent | Added explicit Python build tools to snap requirements (#7213) (diff) | |
download | synapse-054c231e58eb8a93ff04a81341190aa3b6bcb9f7.tar.xz |
Use a template for the SSO success page to allow for customization. (#7279)
Diffstat (limited to 'synapse/config')
-rw-r--r-- | synapse/config/sso.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/synapse/config/sso.py b/synapse/config/sso.py index 686678a3b7..6cd37d4324 100644 --- a/synapse/config/sso.py +++ b/synapse/config/sso.py @@ -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 [] |