Skip to content

Commit

Permalink
add noopener to mfaLearnMoreUrl link by the recommendation of Sonarcloud
Browse files Browse the repository at this point in the history
  • Loading branch information
briskt committed Jun 20, 2024
1 parent 5456397 commit 11cf23b
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,12 @@
<span flex></span>

{% if not mfaLearnMoreUrl is empty %}
<a href="{{ mfaLearnMoreUrl }}" target="_blank" class="mdl-button mdl-button--primary margin">
<a
href="{{ mfaLearnMoreUrl }}"
target="_blank"
rel="noopener"
class="mdl-button mdl-button--primary margin"
>
{{ '{nag:button_learn_more}'|trans }}
</a>
{% endif %}
Expand Down

0 comments on commit 11cf23b

Please sign in to comment.