public function __construct()
 {
     parent::__construct();
     //Must be logged
     $this->filter('before', 'cms_is_auth');
     //After post login, save credentials in session
     $this->filter('after', 'save_session_credentials')->on('post');
 }
Esempio n. 2
0
 public function __construct()
 {
     parent::__construct();
     //Must be logged
     $this->filter('before', 'cms_no_auth');
 }
 public function __construct()
 {
     parent::__construct();
     $this->filter('before', 'init');
 }