summary refs log tree commit diff
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2020-09-25 11:05:54 -0400
committerGitHub <noreply@github.com>2020-09-25 11:05:54 -0400
commit31acc5c30938bd532670d45304f6750de6e6e759 (patch)
treee84ad896bb9d5160ed28f4a6faee2aff9251323f
parentFix occasional "Re-starting finished log context" from keyring (#8398) (diff)
downloadsynapse-31acc5c30938bd532670d45304f6750de6e6e759.tar.xz
Escape the error description on the sso_error template. (#8405)
-rw-r--r--changelog.d/8405.feature1
-rw-r--r--synapse/res/templates/sso_error.html2
2 files changed, 2 insertions, 1 deletions
diff --git a/changelog.d/8405.feature b/changelog.d/8405.feature
new file mode 100644
index 0000000000..f3c4a74bc7
--- /dev/null
+++ b/changelog.d/8405.feature
@@ -0,0 +1 @@
+Consolidate the SSO error template across all configuration.
diff --git a/synapse/res/templates/sso_error.html b/synapse/res/templates/sso_error.html
index af8459719a..944bc9c9ca 100644
--- a/synapse/res/templates/sso_error.html
+++ b/synapse/res/templates/sso_error.html
@@ -12,7 +12,7 @@
     <p>
         There was an error during authentication:
     </p>
-    <div id="errormsg" style="margin:20px 80px">{{ error_description }}</div>
+    <div id="errormsg" style="margin:20px 80px">{{ error_description | e }}</div>
     <p>
         If you are seeing this page after clicking a link sent to you via email, make
         sure you only click the confirmation link once, and that you open the