diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2012-10-02 16:04:12 +0800 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2012-10-02 16:04:12 +0800 |
| commit | 4c75344cc1d3c74ed73b7a8d6aab92a173afe8f5 (patch) | |
| tree | 69d20d8d4284136edb503febf0fe04482010efab | |
| parent | 030b55393ea1164080a25eb6e241e43918bae8ac (diff) | |
Fixed #19056 -- Ensure admin change password template doesn't rely on username attribute.
| -rw-r--r-- | django/contrib/admin/templates/admin/auth/user/change_password.html | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ </p> {% endif %} -<p>{% blocktrans with username=original.username %}Enter a new password for the user <strong>{{ username }}</strong>.{% endblocktrans %}</p> +<p>{% blocktrans with username=original %}Enter a new password for the user <strong>{{ username }}</strong>.{% endblocktrans %}</p> <fieldset class="module aligned"> |
