1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-21 01:48:21 +02:00

Unvalidate e-mail when the user changes it, but the user still active

This commit is contained in:
Yohann D'ANELLO
2020-04-05 04:37:29 +02:00
parent 26281af673
commit 0f77b9df9a
3 changed files with 36 additions and 18 deletions

View File

@ -138,6 +138,11 @@ SPDX-License-Identifier: GPL-3.0-or-later
</div>
</nav>
<div class="container-fluid my-3" style="max-width: 1600px;">
{% if not user.profile.email_confirmed %}
<div class="alert alert-warning">
{% trans "Your e-mail address is not validated. Please check your mail inbox and click on the validation link." %}
</div>
{% endif %}
{% block contenttitle %}<h1>{{ title }}</h1>{% endblock %}
<div id="messages"></div>
{% block content %}