summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWim Feijen <wim@go2people.nl>2015-07-20 13:52:29 +0200
committerTim Graham <timograham@gmail.com>2015-07-20 15:51:50 -0400
commitc08236352758f7c28b17c23fe1240edb856aa0d4 (patch)
tree4edfc4349f50134de08fd6f808273165e252a2b2
parent1da170a203819ffda7764e53e3c268b8fc2ab452 (diff)
Reworded contrib.auth forms' password confirmation help_text.
"As above" refers to a spatial orientation, which might not be present, for example when the two password fields are shown next to each other.
-rw-r--r--django/contrib/auth/forms.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/django/contrib/auth/forms.py b/django/contrib/auth/forms.py
index 56695bacf8..050fc19beb 100644
--- a/django/contrib/auth/forms.py
+++ b/django/contrib/auth/forms.py
@@ -72,7 +72,7 @@ class UserCreationForm(forms.ModelForm):
widget=forms.PasswordInput)
password2 = forms.CharField(label=_("Password confirmation"),
widget=forms.PasswordInput,
- help_text=_("Enter the same password as above, for verification."))
+ help_text=_("Enter the same password as before, for verification."))
class Meta:
model = User
@@ -339,7 +339,7 @@ class AdminPasswordChangeForm(forms.Form):
password2 = forms.CharField(
label=_("Password (again)"),
widget=forms.PasswordInput,
- help_text=_("Enter the same password as above, for verification."),
+ help_text=_("Enter the same password as before, for verification."),
)
def __init__(self, user, *args, **kwargs):