From ab5d4f0c91b63f53cea7c864ea903e1f0b86531e Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Wed, 11 Jul 2018 15:29:10 +0200 Subject: [PATCH] templates: change wording for password change (fixes #22225) --- .../templates/registration/password_change_form.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/authentic2/templates/registration/password_change_form.html b/src/authentic2/templates/registration/password_change_form.html index 0093e2ad..80411b7d 100644 --- a/src/authentic2/templates/registration/password_change_form.html +++ b/src/authentic2/templates/registration/password_change_form.html @@ -13,9 +13,13 @@ {% block content %}
+ {% if user.has_usable_password %}

{% blocktrans %}To change your password you must provide your current password, then provide the new password and confirm it. {% endblocktrans %}

+ {% else %} +

{% blocktrans %}You are going to define your account password{% endblocktrans %}

+ {% endif %} {% csrf_token %} {{ form.as_p }} -- 2.18.0