emails: Remove useless target=_blank in new login emails.

Email providers will add this attribute before showing HTML emails to
users in any case.
This commit is contained in:
Tim Abbott
2020-06-25 12:12:44 -07:00
parent cb1321d0d2
commit 827a6800e7

View File

@@ -13,10 +13,10 @@
<p>
<ul>
<li>
{% trans %}Organization: <a href="{{ realm_uri }}" target="_blank">{{ realm_uri }}</a>{% endtrans %}
{% trans %}Organization: <a href="{{ realm_uri }}">{{ realm_uri }}</a>{% endtrans %}
</li>
<li>
{% trans %}Email: <a href="mailto:{{ user_email }}" target="_blank">{{ user_email }}</a>{% endtrans %}
{% trans %}Email: <a href="mailto:{{ user_email }}">{{ user_email }}</a>{% endtrans %}
</li>
<li>
{% trans %}Time: {{ login_time }}{% endtrans %}
@@ -33,7 +33,7 @@
<p>{{ _("If this was you, great! There's nothing else you need to do.") }}</p>
<p>
{% trans %}If you do not recognize this login, or think your account may have been compromised, please <a href="{{ realm_uri }}/accounts/password/reset/" target="_blank">reset your password</a> or contact us immediately at <a href="mailto:{{ support_email }}">{{ support_email }}</a>.{% endtrans %}
{% trans %}If you do not recognize this login, or think your account may have been compromised, please <a href="{{ realm_uri }}/accounts/password/reset/">reset your password</a> or contact us immediately at <a href="mailto:{{ support_email }}">{{ support_email }}</a>.{% endtrans %}
</p>
<p>