From 3eb1f7851ea0e5c0884fb38d6de4c0420b1d375c Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Wed, 11 Jul 2018 15:29:10 +0200 Subject: [PATCH 1/2] 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..6314a25c 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