/** * 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(); }
public function accessLogAction() { $this->view->accessLogs = $this->_accessLog->getAccessLogEntries(); }