hasIdentity()) { // TODO: quick hack fixxen $this->_redirect('/Auth/login'); } } public function indexAction() { echo 'case2'; // action body } }