/** * (non-PHPdoc) * @see cake/libs/controller/Controller#beforeFilter() */ public function beforeFilter() { parent::beforeFilter(); if ($this->Components->attached('Auth')) { $this->Auth->allow('authorize_url', 'authenticate_url', 'callback'); } }
/** * (non-PHPdoc) * @see cake/libs/controller/Controller#beforeFilter() */ public function beforeFilter() { parent::beforeFilter(); $this->Auth->allow('login', 'logout'); }