Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

… username attribute.
  • Loading branch information...
commit 4c75344cc1d3c74ed73b7a8d6aab92a173afe8f5 1 parent 030b553
@freakboy3742 freakboy3742 authored
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">
Please sign in to comment.
Something went wrong with that request. Please try again.