# HG changeset patch # User eriol-guest # Date 1310020883 0 # Node ID 1dcf2b9f84df0c352d9d77d81c3b9d86547abeae # Parent 16c289c44accacf411d37abfa70d4fb7be76889a Added {% csrf_token %} in any template that uses a POST form diff --git a/bts_webui/amancay/templates/bug_actions.html b/bts_webui/amancay/templates/bug_actions.html --- a/bts_webui/amancay/templates/bug_actions.html +++ b/bts_webui/amancay/templates/bug_actions.html @@ -1,6 +1,6 @@ {% comment %} vim: set sw=4 ts=4 sts=4 noet: {% endcomment %}
-
+ {% csrf_token %}
Add Comment @@ -24,7 +24,7 @@
- + {% csrf_token %}
Reassign report to @@ -49,7 +49,7 @@
- + {% csrf_token %}
Retitle bug report @@ -72,7 +72,7 @@
- + {% csrf_token %}
Close bug report @@ -95,7 +95,7 @@
- + {% csrf_token %}
Change bug severity @@ -126,7 +126,7 @@
- + {% csrf_token %}
Confirm subscription @@ -152,7 +152,7 @@
- + {% csrf_token %}
Change bug owner @@ -165,7 +165,7 @@
{% if current_user.is_authenticated %} -
+ {% csrf_token %}
Take over this bug diff --git a/bts_webui/templates/registration/login.html b/bts_webui/templates/registration/login.html --- a/bts_webui/templates/registration/login.html +++ b/bts_webui/templates/registration/login.html @@ -12,7 +12,7 @@

Please correct the errors below:

{% endif %}