Browse Source

Added missing CSRF token.

Rafał Pitoń 12 years ago
parent
commit
f55e44e894
1 changed files with 1 additions and 0 deletions
  1. 1 0
      templates/cranefly/reports/list.html

+ 1 - 0
templates/cranefly/reports/list.html

@@ -104,6 +104,7 @@
     {% if list_form %}
     <div class="threads-actions">
       <form id="threads_form" class="form-inline pull-right" action="{{ request_path }}" method="POST">
+        <input type="hidden" name="{{ csrf_id }}" value="{{ csrf_token }}">
         {{ form_theme.field(list_form.list_action, attrs={'class': 'span3'}) }}
         <button type="submit" class="btn btn-danger">{% trans %}Go{% endtrans %}</button>
       </form>