mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 12:24:50 -04:00
Allow using several custom template directories (#10587)
Allow using several directories in read_templates.
This commit is contained in:
parent
a933c2c7d8
commit
ae2714c1f3
7 changed files with 97 additions and 26 deletions
|
@ -63,7 +63,7 @@ class SSOConfig(Config):
|
|||
"sso_auth_success.html",
|
||||
"sso_auth_bad_user.html",
|
||||
],
|
||||
self.sso_template_dir,
|
||||
(td for td in (self.sso_template_dir,) if td),
|
||||
)
|
||||
|
||||
# These templates have no placeholders, so render them here
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue