[FLOW3-general] Session timeout after login

Thomas Plessis t.plessis at totemnumerique.com
Tue Sep 4 10:08:29 CEST 2012


I think it's a bug : http://forge.typo3.org/issues/40563

regards,

Thomas Plessis
Développeur multimédia
--
TOTEMnumerique
9, Place St Étienne
31000 Toulouse
T. 05 61 14 64 54
F. 05 61 14 64 55

Le 4 sept. 2012 à 09:36, Phallin Hor a écrit :

> Hi all,
> 
> I have a problem with authentication in flow3. My problem is that I want to redirect to the login page after the session is timeout. I have set the session timeout to 1 hour. However, I got an error message:
> 
> #1258721059: The security context contained no tokens which could be authenticated. (More information)
> TYPO3\FLOW3\Security\Exception\AuthenticationRequiredException thrown in file
> /home/phallin/dev/Study.Blog/Data/Temporary/Development/Cache/Code/FLOW3_Object_Classes/TYPO3_FLOW3_Security_Authentication_AuthenticationProviderManager_Original.php in line 143.
> Reference code: 20120904085809f7500b
> 
> Below is my configuration in Settings.yaml and in my controller:
> 
> Configuration/Settings.yaml
> TYPO3:
>  FLOW3:
>    session:
>      inactivityTimeout: 3600
> 
> loginController.php
> 	public function authenticateAction() {
> 		try {
> 			$this->authenticationManager->authenticate();
> 			$this->redirect('index', 'Book');
> 		} catch (\TYPO3\FLOW3\Security\Exception $exception) {
> 			$this->addFlashMessage('Wrong username or password.');
> 			throw $exception;
> 		}
> 	}
> _______________________________________________
> FLOW3-general mailing list
> FLOW3-general at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow3-general



More information about the FLOW3-general mailing list