summary refs log tree commit diff
path: root/synapse/rest/client/v2_alpha/account.py
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2020-02-25 11:36:21 +0000
committerAndrew Morgan <andrew@amorgan.xyz>2020-02-25 11:36:21 +0000
commitdf5db3f29324861c579ea56cdd743f1d3f949f64 (patch)
tree919f0274f9fbba1dc50ecbf2e118bbcada0d9cce /synapse/rest/client/v2_alpha/account.py
parentMerge pull request #5991 from matrix-org/erikj/fix_tracing_funcs (diff)
parentMerge pull request #5994 from matrix-org/anoa/html_template_fix (diff)
downloadsynapse-df5db3f29324861c579ea56cdd743f1d3f949f64.tar.xz
Merge pull request #5994 from matrix-org/anoa/html_template_fix
Diffstat (limited to 'synapse/rest/client/v2_alpha/account.py')
-rw-r--r--synapse/rest/client/v2_alpha/account.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v2_alpha/account.py b/synapse/rest/client/v2_alpha/account.py
index 628cf8035b..9b5ae1d805 100644
--- a/synapse/rest/client/v2_alpha/account.py
+++ b/synapse/rest/client/v2_alpha/account.py
@@ -271,7 +271,7 @@ class PasswordResetSubmitTokenServlet(RestServlet):
             request.setResponseCode(e.code)
 
             # Show a failure page with a reason
-            html_template = load_jinja2_templates(
+            html_template, = load_jinja2_templates(
                 self.config.email_template_dir,
                 [self.config.email_password_reset_template_failure_html],
             )