Skip to content
Browse files

Fixed #19056 -- Ensure admin change password template doesn't rely on…

… username attribute.
  • Loading branch information...
1 parent 030b553 commit 4c75344cc1d3c74ed73b7a8d6aab92a173afe8f5 @freakboy3742 freakboy3742 committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/contrib/admin/templates/admin/auth/user/change_password.html
View
2 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">

0 comments on commit 4c75344

Please sign in to comment.
Something went wrong with that request. Please try again.