예제 #1
0
 public function beforeFilter(Event $event)
 {
     parent::beforeFilter($event);
     $this->Auth->deny(['index']);
 }
예제 #2
0
 public function beforeFilter(Event $event)
 {
     parent::beforeFilter($event);
     $this->Auth->deny('index');
     $this->Auth->allowedActions = array('forgot', 'send', 'login', 'register', 'sso_login');
 }