Skip to content

Commit

Permalink
verify the token on a delete call
Browse files Browse the repository at this point in the history
(cherry picked from commit 678bd0a)
  • Loading branch information
michield authored and marianaballa committed May 25, 2021
1 parent 3101068 commit d518b3d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions public_html/lists/admin/users.php
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@
}

if (!empty($delete) && isSuperUser()) {
verifyCsrfGetToken();
// delete the index in delete
$action_result = $GLOBALS['I18N']->get('deleting')." $delete ..\n";
deleteUser($delete);
Expand Down

0 comments on commit d518b3d

Please sign in to comment.