/** * beforeFilter * * @return void */ public function beforeFilter() { parent::beforeFilter(); if ($this->action == 'admin_generate') { $this->Security->csrfCheck = false; } }
function beforeFilter() { parent::beforeFilter(); if (!empty($this->Auth)) { $this->Auth->allow('admin_aco'); } }
function beforeFilter() { $this->loadModel(Configure::read('acl.aro.role.model')); $this->loadModel(Configure::read('acl.aro.user.model')); #$this->Auth->allow('*'); parent::beforeFilter(); }
/** * beforeFilter * * @return void */ public function beforeFilter() { parent::beforeFilter(); $this->Security->requirePost('admin_toggle'); if ($this->action == 'admin_toggle') { $this->Security->csrfCheck = false; } }
function beforeFilter() { parent::beforeFilter(); }
function beforeFilter() { parent::beforeFilter(); //$this->Auth->allow('*'); }