Beispiel #1
0
 /**
  * Login action
  *
  * kills the authorized user object
  * then redirects to the main index page
  *
  * @return void
  */
 public function logoutAction()
 {
     Digitalus_Auth::destroy();
     $this->_redirect('/');
 }
 /**
  * Logout action
  *
  * kills the authorized user object
  * then redirects to the main index page
  *
  * @return void
  */
 public function logoutAction()
 {
     Digitalus_Auth::destroy();
     Zend_Auth::getInstance()->clearIdentity();
     $this->_redirect('/');
 }