/**
  *
  * @return void
  * @author Andreas Förthner <*****@*****.**>
  */
 public function logoutAction()
 {
     $this->authenticationManager->getSecurityContext()->clearContext();
     $this->authenticationManager->logout();
     $message = new \TYPO3\FLOW3\Error\Message('Successfully logged out.');
     $this->flashMessageContainer->addMessage($message);
     $this->redirect('index', 'Login');
 }
 /**
  * Logs out a - possibly - currently logged in account.
  */
 public function logoutAction()
 {
     $this->authenticationManager->logout();
     $this->addFlashMessage('You are logged out now.', 'See you later', \TYPO3\FLOW3\Error\Message::SEVERITY_OK);
     $this->redirect('index');
 }
 /**
  * Sets the authentication status of all active tokens back to NO_CREDENTIALS_GIVEN
  *
  * @return void
  */
 public function logoutAction()
 {
     $this->authenticationManager->logout();
 }