Exemplo n.º 1
0
 /**
  * Logout
  *
  * @return void 
  */
 public function logout()
 {
     // Register logout in the access log, clear session and redirect to the public index page
     $this->_accessLog->insertAccessLog(Admin_View_Helper_Authentication::getLoggedUserName(), Enum_ActivityType::Logout);
     $storage = new Zend_Auth_Storage_Session('www.beyourlight.co.uk');
     $storage->clear();
 }
Exemplo n.º 2
0
 public function accessLogAction()
 {
     $this->view->accessLogs = $this->_accessLog->getAccessLogEntries();
 }