summaryrefslogtreecommitdiff
path: root/django/contrib/admin/templates/registration/password_change_form.html
diff options
context:
space:
mode:
Diffstat (limited to 'django/contrib/admin/templates/registration/password_change_form.html')
-rw-r--r--django/contrib/admin/templates/registration/password_change_form.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/admin/templates/registration/password_change_form.html b/django/contrib/admin/templates/registration/password_change_form.html
index c13c7f7040..6d7a6609de 100644
--- a/django/contrib/admin/templates/registration/password_change_form.html
+++ b/django/contrib/admin/templates/registration/password_change_form.html
@@ -11,7 +11,7 @@
<p>{% trans "Please enter your old password, for security's sake, and then enter your new password twice so we can verify you typed it in correctly." %}</p>
-<form action="" method="post">
+<form action="" method="post">{% csrf_token %}
{{ form.old_password.errors }}
<p class="aligned wide"><label for="id_old_password">{% trans 'Old password:' %}</label>{{ form.old_password }}</p>