/**
  * (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');
     }
 }
Beispiel #2
0
 /**
  * (non-PHPdoc)
  * @see cake/libs/controller/Controller#beforeFilter()
  */
 public function beforeFilter()
 {
     parent::beforeFilter();
     $this->Auth->allow('login', 'logout');
 }