diff options
author | Brendan Abolivier <babolivier@matrix.org> | 2021-08-17 12:23:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-17 10:23:14 +0000 |
commit | ae2714c1f31f2a843e19dc44501784401181162c (patch) | |
tree | 8b06ce2839ea5617ec55b61c834c5e3f7b1df1f1 /synapse/config/account_validity.py | |
parent | Add an admin API to check if a username is available (#10578) (diff) | |
download | synapse-ae2714c1f31f2a843e19dc44501784401181162c.tar.xz |
Allow using several custom template directories (#10587)
Allow using several directories in read_templates.
Diffstat (limited to 'synapse/config/account_validity.py')
-rw-r--r-- | synapse/config/account_validity.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/config/account_validity.py b/synapse/config/account_validity.py index 6be4eafe55..9acce5996e 100644 --- a/synapse/config/account_validity.py +++ b/synapse/config/account_validity.py @@ -88,5 +88,5 @@ class AccountValidityConfig(Config): "account_previously_renewed.html", invalid_token_template_filename, ], - account_validity_template_dir, + (td for td in (account_validity_template_dir,) if td), ) |