Issue 361: Include the CSRF token in all forms
[mediagoblin.git] / mediagoblin / templates / mediagoblin / user_pages / media.html
index 442bef6da27d762609ab8ebb74e158327a35a44a..433f74dcac73dcd96dd2ed97bd6c86fe3f2d1a41 100644 (file)
@@ -72,6 +72,7 @@
           {{ wtforms_util.render_divs(comment_form) }}
           <div class="form_submit_buttons">
             <input type="submit" value="{% trans %}Post comment!{% endtrans %}" class="button" />
+           {{ csrf_token }}
           </div>
         </form>
       {% endif %}