franceconnect: use rel=noopener for links opening in new tabs (#34038)

This commit is contained in:
Frédéric Péters 2019-06-19 15:01:01 +02:00 committed by Benjamin Dauvergne
parent c20b1071db
commit de917d74ad
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
{% block fc-explanation %}
<div id="fc-explanation-text">
<p>
<a href="{{ about_url }}" target="_blank">{% trans "What is FranceConnect?" %}</a>
<a href="{{ about_url }}" target="_blank" rel="noopener">{% trans "What is FranceConnect?" %}</a>
</p>
<p>{% blocktrans %}
FranceConnect is the solution proposed by the French state to streamline

View File

@ -24,6 +24,6 @@
{% endif %}
</div>
</div>
<p><a href="{{ about_url }}" target="_blank">{% trans "What is FranceConnect?" %}</a></p>
<p><a href="{{ about_url }}" target="_blank" rel="noopener">{% trans "What is FranceConnect?" %}</a></p>
</div>
{% if popup %}<script src="{% static 'authentic2_auth_fc/js/fc.js' %}" type="text/javascript"></script>{% endif %}