Skip to content

Commit

Permalink
Revert "Fix token check when removing data via privacy removal request (
Browse files Browse the repository at this point in the history
joomla#30479)"

This reverts commit 2b14692.
  • Loading branch information
Reconix committed Aug 31, 2020
1 parent 1b5ce6a commit 4dfa807
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ public function invalidate($key = null, $urlVar = null)
public function remove()
{
// Check for request forgeries.
$this->checkToken('request');
JSession::checkToken('get') or jexit(JText::_('JINVALID_TOKEN'));

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

0 comments on commit 4dfa807

Please sign in to comment.