MDL-53677 tool_spamcleaner: CSRF Fix

Resolves minor CSRF within Moodle spamcleaner.
This commit is contained in:
SSRF
2016-12-06 12:25:48 +05:30
committed by Ankit Agarwal
parent f945d178cc
commit e716d6e8f7
+1 -1
View File
@@ -75,7 +75,7 @@ if (!empty($delall) && confirm_sesskey()) {
exit;
}
if (!empty($ignore)) {
if (!empty($ignore) && confirm_sesskey()) {
unset($SESSION->users_result[$id]);
echo json_encode(true);
exit;