authentic2: adapt to depreciation in profile view (#25038)

This commit is contained in:
Benjamin Dauvergne 2018-07-04 10:36:51 +02:00
parent 8c37589fb3
commit a6eaaae02f
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@
{% if allow_email_change %}
<li><a href="{% url 'email-change' %}">Modifier le courriel associé</a></li>
{% endif %}
{% if allow_password_change %}
{% if user.can_change_password %}
{% if user.has_usable_password %}
<li><a href="{% url 'password_change' %}">Modifier le mot de passe</a></li>
{% else %}