Browse Source

social login: add noopener to terms link (#9300)

Richard van der Hoff 3 years ago
parent
commit
96e460df2e
2 changed files with 2 additions and 1 deletions
  1. 1 0
      changelog.d/9300.feature
  2. 1 1
      synapse/res/templates/sso_new_user_consent.html

+ 1 - 0
changelog.d/9300.feature

@@ -0,0 +1 @@
+Further improvements to the user experience of registration via single sign-on.

+ 1 - 1
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>