projects
/
mediagoblin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Issue 361: Include the CSRF token in all forms
[mediagoblin.git]
/
mediagoblin
/
templates
/
mediagoblin
/
user_pages
/
media.html
diff --git
a/mediagoblin/templates/mediagoblin/user_pages/media.html
b/mediagoblin/templates/mediagoblin/user_pages/media.html
index 442bef6da27d762609ab8ebb74e158327a35a44a..433f74dcac73dcd96dd2ed97bd6c86fe3f2d1a41 100644
(file)
--- a/
mediagoblin/templates/mediagoblin/user_pages/media.html
+++ b/
mediagoblin/templates/mediagoblin/user_pages/media.html
@@
-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 %}