[BUGFIX] Do not log out a logged out user 66/41466/3
authorHelmut Hummel <helmut.hummel@typo3.org>
Thu, 16 Jul 2015 12:48:20 +0000 (14:48 +0200)
committerAndreas Wolf <andreas.wolf@typo3.org>
Thu, 16 Jul 2015 18:27:11 +0000 (20:27 +0200)
commitba4ca31bded028a3c2e362381b753e1f459e5e09
tree8068b2dd641e095b090b5fb776682ef7c66f6d47
parent0fa28d5f85b7e8991a7ed0505d5625643d81d8f3
[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/41466
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Reviewed-by: Andreas Wolf <andreas.wolf@typo3.org>
Tested-by: Andreas Wolf <andreas.wolf@typo3.org>
typo3/sysext/backend/Classes/Controller/LogoutController.php