Skip to content
Snippets Groups Projects
Unverified Commit db7de4d1 authored by Patrick Cloke's avatar Patrick Cloke Committed by GitHub
Browse files

Fix a regression from calling read_templates. (#8252)

Regressed in #8037.
parent e3512984
No related branches found
No related tags found
No related merge requests found
Use the default template file when its equivalent is not found in a custom template directory.
...@@ -171,7 +171,7 @@ class SAML2Config(Config): ...@@ -171,7 +171,7 @@ class SAML2Config(Config):
self.saml2_error_html_template = self.read_templates( self.saml2_error_html_template = self.read_templates(
["saml_error.html"], saml2_config.get("template_dir") ["saml_error.html"], saml2_config.get("template_dir")
) )[0]
def _default_saml_config_dict( def _default_saml_config_dict(
self, required_attributes: set, optional_attributes: set self, required_attributes: set, optional_attributes: set
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment