diff options
| author | Michael Foster <savetheinternet@tinyboard.org> | 2013-09-23 16:48:56 +1000 |
|---|---|---|
| committer | Michael Foster <savetheinternet@tinyboard.org> | 2013-09-23 16:48:56 +1000 |
| commit | c8062fbf767100a46e32a81ed34d8d8eaf5c45e7 (patch) | |
| tree | 6f0507630491207006aab332d907e84eb169d723 /templates/mod/view_ip.html | |
| parent | 00f4da3b82afda892906578ec1bd3c766fe0cd45 (diff) | |
CSRF more mod pages
Diffstat (limited to 'templates/mod/view_ip.html')
| -rw-r--r-- | templates/mod/view_ip.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/mod/view_ip.html b/templates/mod/view_ip.html index f73c5d5a..1c1c7fa6 100644 --- a/templates/mod/view_ip.html +++ b/templates/mod/view_ip.html @@ -57,6 +57,7 @@ {% if mod|hasPermission(config.mod.create_notes) %} <form action="" method="post" style="margin:0"> + <input type="hidden" name="token" value="{{ security_token }}"> <table> <tr> <th>{% trans 'Staff' %}</th> @@ -87,6 +88,7 @@ {% for ban in bans %} <form action="" method="post" style="text-align:center"> + <input type="hidden" name="token" value="{{ security_token }}"> <table style="width:400px;margin-bottom:10px;border-bottom:1px solid #ddd;padding:5px"> <tr> <th>{% trans 'Status' %}</th> |
