This commit is contained in:
Brendan Abolivier 2020-03-11 20:39:18 +00:00
parent f9e98176bf
commit 0de9f9486a
No known key found for this signature in database
GPG Key ID: 1E015C145F1916CD

View File

@ -168,8 +168,7 @@ class SAML2Config(Config):
template_dir = pkg_resources.resource_filename("synapse", "res/templates",) template_dir = pkg_resources.resource_filename("synapse", "res/templates",)
self.saml2_error_html_content = self.read_file( self.saml2_error_html_content = self.read_file(
os.path.join(template_dir, "saml_error.html"), os.path.join(template_dir, "saml_error.html"), "saml2_config.saml_error",
"saml2_config.saml_error",
) )
def _default_saml_config_dict( def _default_saml_config_dict(