1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2025-07-02 04:38:31 +02:00

Update email validation page

This commit is contained in:
Yohann D'ANELLO
2020-12-11 16:10:05 +01:00
parent 3faf1294d8
commit f2ca4b7446
2 changed files with 19 additions and 7 deletions

View File

@ -19,7 +19,11 @@ SPDX-License-Identifier: GPL-3.0-or-later
</p>
{% else %}
<p>
{% trans "The link was invalid. The token may have expired. Please send us an email to activate your account." %}
{% if user.is_authenticated and user.registration.email_confirmed %}
{% trans "The link was invalid. The token may have expired, or your account is already activated. However, your account seems to be already valid." %}
{% else %}
{% trans "The link was invalid. The token may have expired, or your account is already activated. Please send us an email to activate your account." %}
{% endif %}
</p>
{% endif %}
</div>