mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-29 01:46:14 -05:00
Fix a regression from calling read_templates. (#8252)
Regressed in #8037.
This commit is contained in:
parent
e351298444
commit
db7de4d182
1
changelog.d/8252.feature
Normal file
1
changelog.d/8252.feature
Normal file
@ -0,0 +1 @@
|
||||
Use the default template file when its equivalent is not found in a custom template directory.
|
@ -171,7 +171,7 @@ class SAML2Config(Config):
|
||||
|
||||
self.saml2_error_html_template = self.read_templates(
|
||||
["saml_error.html"], saml2_config.get("template_dir")
|
||||
)
|
||||
)[0]
|
||||
|
||||
def _default_saml_config_dict(
|
||||
self, required_attributes: set, optional_attributes: set
|
||||
|
Loading…
Reference in New Issue
Block a user