/**
  * BeforeFilter Callback
  *
  * @param \Cake\Event\Event $event
  */
 public function beforeFilter(\Cake\Event\Event $event)
 {
     parent::beforeFilter($event);
     // Auth-settings: Allows all user-related methods
     $this->Auth->allow(['reset_password', 'forgot_password', 'logout', 'login', 'activate', 'test']);
     // Setting up the base-theme
     if (!$this->theme) {
         $this->theme = "CakeManager";
     }
     // Setting up the base-layout
     if (!$this->layout) {
         $this->layout = "base";
     }
 }
 /**
  * beforeFilter Callback
  *
  * @param \Cake\Event\Event $event Event.
  * @return void
  */
 public function beforeFilter(\Cake\Event\Event $event)
 {
     parent::beforeFilter($event);
     $this->Auth->allow([]);
 }
 public function beforeFilter(\Cake\Event\Event $event)
 {
     parent::beforeFilter($event);
     $this->loadModel(Configure::read('CM.UserModel'));
 }
 public function beforeFilter(\Cake\Event\Event $event)
 {
     parent::beforeFilter($event);
     $this->Auth->deny('display');
 }