[BUGFIX] Keep session cookie if session data is present 85/30485/5
authorHelmut Hummel <helmut.hummel@typo3.org>
Sun, 1 Jun 2014 12:20:17 +0000 (14:20 +0200)
committerMarkus Klein <klein.t3@mfc-linz.at>
Sun, 1 Jun 2014 19:04:11 +0000 (21:04 +0200)
commit1d23e5e04424060237f9e5b26421efca6efd93b2
tree75f98124616e282cc90fbca4415ed21e4480e91c
parentd357653bf15a313ae954280f28b82b2f93238355
[BUGFIX] Keep session cookie if session data is present

The AbstractUserAuthentication::checkAuthentication() method calls
the logoff() method on every failed login attempt.

Since a logoff also causes a removal of the cookie,
any (anonymous) session data will be left unaccessible.

Keep the cookie when session data is present.

Releases: 6.2
Resolves: #58713
Change-Id: I744456f62197a7278635d8564d4883564d954dd2
Reviewed-on: https://review.typo3.org/30485
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Reviewed-by: Markus Klein
Tested-by: Markus Klein
typo3/sysext/frontend/Classes/Authentication/FrontendUserAuthentication.php