CSRF protection

This commit is contained in:
Michael Save committed 2012-08-27 15:19:05 +10:00
1 parent 4a9d497a94
commit 6229b82a43
8 files changed
+82 -44

No files matched your search

+1
View File
@@ -5,6 +5,7 @@
{% endif %}
<form action="{{ action }}" method="post">
<input type="hidden" name="token" value="{{ token }}">
{% if redirect %}
<input type="hidden" name="redirect" value="{{ redirect|e }}">
{% endif %}