From 4c75344cc1d3c74ed73b7a8d6aab92a173afe8f5 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Tue, 2 Oct 2012 16:04:12 +0800 Subject: [PATCH] Fixed #19056 -- Ensure admin change password template doesn't rely on username attribute. --- .../admin/templates/admin/auth/user/change_password.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/contrib/admin/templates/admin/auth/user/change_password.html b/django/contrib/admin/templates/admin/auth/user/change_password.html index f367223bc5..b5a7715844 100644 --- a/django/contrib/admin/templates/admin/auth/user/change_password.html +++ b/django/contrib/admin/templates/admin/auth/user/change_password.html @@ -28,7 +28,7 @@

{% endif %} -

{% blocktrans with username=original.username %}Enter a new password for the user {{ username }}.{% endblocktrans %}

+

{% blocktrans with username=original %}Enter a new password for the user {{ username }}.{% endblocktrans %}