summary refs log tree commit diff
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
parentUpdate changelog (diff)
downloadsynapse-96e460df2ef80bc4fd23259fa7352efefcfcba44.tar.xz
social login: add noopener to terms link (#9300)
-rw-r--r--changelog.d/9300.feature1
-rw-r--r--synapse/res/templates/sso_new_user_consent.html2
2 files changed, 2 insertions, 1 deletions
diff --git a/changelog.d/9300.feature b/changelog.d/9300.feature
new file mode 100644
index 0000000000..a2d0b27da4
--- /dev/null
+++ b/changelog.d/9300.feature
@@ -0,0 +1 @@
+Further improvements to the user experience of registration via single sign-on.
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>