summaryrefslogtreecommitdiff
path: root/templates/mod/ban_list.html
diff options
context:
space:
mode:
authorMichael Foster <savetheinternet@tinyboard.org>2013-09-23 16:48:56 +1000
committerMichael Foster <savetheinternet@tinyboard.org>2013-09-23 16:48:56 +1000
commitc8062fbf767100a46e32a81ed34d8d8eaf5c45e7 (patch)
tree6f0507630491207006aab332d907e84eb169d723 /templates/mod/ban_list.html
parent00f4da3b82afda892906578ec1bd3c766fe0cd45 (diff)
CSRF more mod pages
Diffstat (limited to 'templates/mod/ban_list.html')
-rw-r--r--templates/mod/ban_list.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/mod/ban_list.html b/templates/mod/ban_list.html
index b41cef28..97c02029 100644
--- a/templates/mod/ban_list.html
+++ b/templates/mod/ban_list.html
@@ -1,7 +1,8 @@
{% if bans|count == 0 %}
<p style="text-align:center" class="unimportant">({% trans 'There are no active bans.' %})</p>
{% else %}
- <form action="" method="post">
+ <form action="?/bans" method="post">
+ <input type="hidden" name="token" value="{{ token }}">
<table class="mod" style="width:100%">
<tr>
<th>{% trans 'IP address/mask' %}</th>