[FLOW3-general] Logout does not work since upgrade 1.01?

Andreas Förthner andreas.foerthner at netlogix.de
Thu Nov 24 18:35:51 CET 2011


Hi Thomas,

which authentication providers are you using? Basically everything looks
fine so farŠ

Greets Andi

Am 24.11.11 16:35 schrieb "Thomas Plessis" unter
<t.plessis at totemnumerique.com>:

>any ideas about this?
>
>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 23 nov. 2011 à 12:25, Thomas Plessis a écrit :
>
>> Hi guys,
>>
>> I've upgrade my FLOW3 project this morning with the new release 1.01,
>>and now the logout method from authenticationManager does not workŠ it's
>>impossible to logout, and i've no errors or warnings.
>>
>> Here is my LoginController :
>>
>> class LoginController extends
>>\Totem\Lewin\Controller\AbstractBaseController {
>>
>>      /**
>>       * @FLOW3\Inject
>>       * @var
>>\TYPO3\FLOW3\Security\Authentication\AuthenticationManagerInterface
>>       */
>>      protected $authenticationManager;
>>
>>      /**
>>       * Show login poage
>>       *
>>       * @return string
>>       */
>>      public function indexAction() {
>>
>>      }
>>
>>      /**
>>       * Authenticates an account by invoking the Provider based
>>Authentication Manager.
>>       *
>>       * On successful authentication redirects to the index page, otherwise
>>returns
>>       * to the login screen.
>>       *
>>       * @return void
>>       */
>>      public function authenticateAction() {
>>              try {
>>                      $this->authenticationManager->authenticate();
>>                      $this->redirect('index', 'Home');
>>              } catch
>>(\TYPO3\FLOW3\Security\Exception\AuthenticationRequiredException
>>$exception) {
>>                      $this->addFlashMessage('Wrong username or password.');
>>                      throw $exception;
>>              }
>>      }
>>
>>      /**
>>       * Logout user from website
>>       *
>>       * @return void
>>       */
>>      public function logoutAction() {
>>              $this->authenticationManager->logout();
>>              $this->addFlashMessage('Successfully logged out.');
>>              $this->redirect('index', 'Home');
>>      }
>> }
>>
>> 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
>>
Andreas Förthner
Leiter Web-Entwicklung

Telefon: +49 (911) 539909 - 0
E-Mail: andreas.foerthner at netlogix.de
Website: media.netlogix.de


--
netlogix GmbH & Co. KG
IT-Services | IT-Training | Media
Andernacher Straße 53 | 90411 Nürnberg
Telefon: +49 (911) 539909 - 0 | Fax: +49 (911) 539909 - 99
E-Mail: info at netlogix.de | Internet: http://www.netlogix.de

netlogix GmbH & Co. KG ist eingetragen am Amtsgericht Nürnberg (HRA 13338)
Persönlich haftende Gesellschafterin: netlogix Verwaltungs GmbH (HRB 20634)
Umsatzsteuer-Identifikationsnummer: DE 233472254
Geschäftsführer: Stefan Buchta, Matthias Schmidt



_______________________________________________
>> FLOW3-general mailing list
>> FLOW3-general at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow3-general
>
>_______________________________________________
>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