Skip to content

Commit

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

This reverts commit 4dfa807.
  • Loading branch information
Reconix committed Aug 31, 2020
1 parent e546f57 commit 02b189e
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.
JSession::checkToken('get') or jexit(JText::_('JINVALID_TOKEN'));
$this->checkToken('request');

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

0 comments on commit 02b189e

Please sign in to comment.