Im using cakephp 2.x with security component activated, the problem is i disabled csrf verification for my json requests like this :
$this->Security->unlockedActions = array('do_json');
Is it possible to remove the unlockedActions code from the beforefilter and integrate csrf verification in json requests as well like other not json actions.
Thanks in advance.