[BUGFIX] Do not log out a logged out user 60/41460/2
authorHelmut Hummel <helmut.hummel@typo3.org>
Thu, 16 Jul 2015 12:48:20 +0000 (14:48 +0200)
committerFrank Nägler <frank.naegler@typo3.org>
Thu, 16 Jul 2015 13:25:51 +0000 (15:25 +0200)
commit6defeb4a7d33ab6f53e5afe5c2e840fafb3a5a32
treed8cfb3c3f5ed39dea84eaaed3ec96cd5f9863183
parentff4a6a69108b3f16aafce9eafb850489e00d7549
[BUGFIX] Do not log out a logged out user

It can happen that the logout action of the logout
controller is called without a user being logged in.

To avoid a fatal error, we do not call the logoff
code any more and just do the redirect handling.

Releases: master, 6.2
Resolves: #68220
Change-Id: I06f6289d01c681d4b412910ded8e9894f377892d
Reviewed-on: http://review.typo3.org/41460
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Reviewed-by: Markus Sommer <markussom@posteo.de>
Tested-by: Markus Sommer <markussom@posteo.de>
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
typo3/sysext/backend/Classes/Controller/LogoutController.php