summaryrefslogtreecommitdiff
path: root/templates/mod/ban_form.html
diff options
context:
space:
mode:
authorMichael Save <savetheinternet@tinyboard.org>2012-08-27 15:19:05 +1000
committerMichael Save <savetheinternet@tinyboard.org>2012-08-27 15:19:05 +1000
commit6229b82a43e808d4ead53f841f9cbed3e7393366 (patch)
tree29cd12af964a8e2d4fc7c9f6c0737ae00622d713 /templates/mod/ban_form.html
parent4a9d497a949c941900dddf8858edb464f1d72f7f (diff)
CSRF protection
Diffstat (limited to 'templates/mod/ban_form.html')
-rw-r--r--templates/mod/ban_form.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/mod/ban_form.html b/templates/mod/ban_form.html
index 5d5f2b81..edc1ab3b 100644
--- a/templates/mod/ban_form.html
+++ b/templates/mod/ban_form.html
@@ -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 %}