summary refs log tree commit diff
path: root/synapse/res
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2021-02-02 18:35:28 +0000
committerGitHub <noreply@github.com>2021-02-02 18:35:28 +0000
commit96e460df2ef80bc4fd23259fa7352efefcfcba44 (patch)
tree6020b890f58a515aaf75de44578f13431ecde520 /synapse/res
parentUpdate changelog (diff)
downloadsynapse-96e460df2ef80bc4fd23259fa7352efefcfcba44.tar.xz
social login: add noopener to terms link (#9300)
Diffstat (limited to 'synapse/res')
-rw-r--r--synapse/res/templates/sso_new_user_consent.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/res/templates/sso_new_user_consent.html b/synapse/res/templates/sso_new_user_consent.html
index 8c33787c54..8f197007c7 100644
--- a/synapse/res/templates/sso_new_user_consent.html
+++ b/synapse/res/templates/sso_new_user_consent.html
@@ -30,7 +30,7 @@
             <form method="post" action="{{my_url}}" id="consent_form">
                 <p>
                     <input id="accepted_version" type="checkbox" name="accepted_version" value="{{ consent_version }}" required>
-                    <label for="accepted_version">I have read and agree to the <a href="{{ terms_url }}" target="_blank">terms and conditions</a>.</label>
+                    <label for="accepted_version">I have read and agree to the <a href="{{ terms_url }}" target="_blank" rel="noopener">terms and conditions</a>.</label>
                 </p>
                 <input type="submit" class="primary-button" value="Continue"/>
             </form>