diff options
author | Andrew Morgan <andrew@amorgan.xyz> | 2020-12-30 14:34:46 +0000 |
---|---|---|
committer | Andrew Morgan <andrew@amorgan.xyz> | 2020-12-30 14:36:31 +0000 |
commit | bc0b59e51ad807f12130ca854dea6c72698dec8e (patch) | |
tree | 3c58010fc0a31fb5b6cbce2cdd920b5b0abce771 /synapse/rest | |
parent | Move AccountValidityConfig to its own config file (diff) | |
download | synapse-github/anoa/testbla.tar.xz |
Change account validity config option instances github/anoa/testbla anoa/testbla
Diffstat (limited to 'synapse/rest')
-rw-r--r-- | synapse/rest/client/v2_alpha/account_validity.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/rest/client/v2_alpha/account_validity.py b/synapse/rest/client/v2_alpha/account_validity.py index bd7f9ae203..c9761f05ae 100644 --- a/synapse/rest/client/v2_alpha/account_validity.py +++ b/synapse/rest/client/v2_alpha/account_validity.py @@ -37,8 +37,8 @@ class AccountValidityRenewServlet(RestServlet): self.hs = hs self.account_activity_handler = hs.get_account_validity_handler() self.auth = hs.get_auth() - self.success_html = hs.config.account_validity.account_renewed_html_content - self.failure_html = hs.config.account_validity.invalid_token_html_content + self.success_html = hs.config.account_validity_account_renewed_html_content + self.failure_html = hs.config.account_validity_invalid_token_html_content async def on_GET(self, request): if b"token" not in request.args: |