Skip to content

Commit

Permalink
Escape the error description on the sso_error template. (matrix-org#8405
Browse files Browse the repository at this point in the history
)
  • Loading branch information
clokep authored Sep 25, 2020
1 parent fec6f9a commit 31acc5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/8405.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Consolidate the SSO error template across all configuration.
2 changes: 1 addition & 1 deletion synapse/res/templates/sso_error.html
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 31acc5c

Please sign in to comment.