summaryrefslogtreecommitdiff
path: root/templates/mod/report.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/report.html
parent00f4da3b82afda892906578ec1bd3c766fe0cd45 (diff)
CSRF more mod pages
Diffstat (limited to 'templates/mod/report.html')
-rw-r--r--templates/mod/report.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/mod/report.html b/templates/mod/report.html
index 9c8463ed..b5392d5b 100644
--- a/templates/mod/report.html
+++ b/templates/mod/report.html
@@ -13,13 +13,13 @@
{% if mod|hasPermission(config.mod.report_dismiss, report.board) or mod|hasPermission(config.mod.report_dismiss_ip, report.board) %}
<hr>
{% if mod|hasPermission(config.mod.report_dismiss, report.board) %}
- <a title="{% trans 'Discard abuse report' %}" href="?/reports/{{ report.id }}/dismiss">Dismiss</a>
+ <a title="{% trans 'Discard abuse report' %}" href="?/reports/{{ report.id }}/dismiss/{{ token }}">Dismiss</a>
{% endif %}
{% if mod|hasPermission(config.mod.report_dismiss_ip, report.board) %}
{% if mod|hasPermission(config.mod.report_dismiss, report.board) %}
|
{% endif %}
- <a title="{% trans 'Discard all abuse reports by this IP address' %}" href="?/reports/{{ report.id }}/dismissall">Dismiss+</a>
+ <a title="{% trans 'Discard all abuse reports by this IP address' %}" href="?/reports/{{ report.id }}/dismissall/{{ token_all }}">Dismiss+</a>
{% endif %}
{% endif %}
</div>