Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Use innerText instead of innerHTML
Browse files Browse the repository at this point in the history
  • Loading branch information
babolivier committed Mar 13, 2020
1 parent 0de9f94 commit ebfcbbf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion synapse/res/templates/saml_error.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@
// to print one.
let errorDesc = new URLSearchParams(searchStr).get("error_description")
if (errorDesc) {
document.getElementById("errormsg").innerHTML = ` ("${errorDesc}")`;

document.getElementById("errormsg").innerText = ` ("${errorDesc}")`;
}
</script>
</body>
Expand Down

0 comments on commit ebfcbbf

Please sign in to comment.