diff --git a/synapse/config/saml2_config.py b/synapse/config/saml2_config.py index 3113f11ebbb42f28a71c4122b8cb15010114be15..8fe64d90f857e4def4e8027ed44ca328c046cde0 100644 --- a/synapse/config/saml2_config.py +++ b/synapse/config/saml2_config.py @@ -168,8 +168,7 @@ class SAML2Config(Config): template_dir = pkg_resources.resource_filename("synapse", "res/templates",) self.saml2_error_html_content = self.read_file( - os.path.join(template_dir, "saml_error.html"), - "saml2_config.saml_error", + os.path.join(template_dir, "saml_error.html"), "saml2_config.saml_error", ) def _default_saml_config_dict(