Skip to content
Permalink
Browse files

MDL-53677 tool_spamcleaner: CSRF Fix

Resolves minor CSRF within Moodle spamcleaner.
  • Loading branch information
SSRF authored and danpoltawski committed Oct 5, 2016
1 parent f477809 commit d4feb70e17b626fee4cca1471017382a8e7d2c2e
Showing with 1 addition and 1 deletion.
  1. +1 −1 admin/tool/spamcleaner/index.php
@@ -75,7 +75,7 @@
exit;
}
if (!empty($ignore)) {
if (!empty($ignore) && confirm_sesskey()) {
unset($SESSION->users_result[$id]);
echo json_encode(true);
exit;

0 comments on commit d4feb70

Please sign in to comment.
You can’t perform that action at this time.