MDL-53677 tool_spamcleaner: CSRF Fix
Resolves minor CSRF within Moodle spamcleaner.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user