Skip to content

Commit

Permalink
Fix token check
Browse files Browse the repository at this point in the history
  • Loading branch information
SharkyKZ committed Aug 25, 2020
1 parent 0f701ce commit 5a1b590
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -287,7 +287,7 @@ public function invalidate($key = null, $urlVar = null)
public function remove()
{
// Check for request forgeries.
JSession::checkToken('get') or jexit(JText::_('JINVALID_TOKEN'));
JSession::checkToken('request') or jexit(JText::_('JINVALID_TOKEN'));

/** @var PrivacyModelRemove $model */
$model = $this->getModel('Remove');
Expand Down

0 comments on commit 5a1b590

Please sign in to comment.