Revert "[BUGFIX] Session cookie is not recreated on login" 53/30753/6
authorHelmut Hummel <helmut.hummel@typo3.org>
Mon, 16 Jun 2014 14:36:12 +0000 (16:36 +0200)
committerHelmut Hummel <helmut.hummel@typo3.org>
Mon, 16 Jun 2014 22:23:52 +0000 (00:23 +0200)
This reverts commit 76741dff7b967b88aa1d6e556500a77716c7a97a
(https://review.typo3.org/29626)

This change is not needed any more as the fix done
for #58713 also fixes the issues targeted with this fix.

This should be reverted not only because it is not needed
any more but especially because it "abuses" the property
->newSessionID which should only be set when really
a new ID has been generated and not to force the cookie
to be set again.

Releases: 6.2
Resolves: #59614
Reverts: #57751
Related: #58713
Change-Id: I5324769b0795bcc1b1f1e385c73fd085d7b3f571
Reviewed-on: https://review.typo3.org/30753
Reviewed-by: Markus Klein
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
typo3/sysext/core/Classes/Authentication/AbstractUserAuthentication.php

index 5443231..67f8d58 100644 (file)
@@ -706,7 +706,6 @@ abstract class AbstractUserAuthentication {
                                }
                                // Delete old user session if any
                                $this->logoff();
-                               $this->newSessionID = TRUE;
                        }
                        // Refuse login for _CLI users, if not processing a CLI request type
                        // (although we shouldn't be here in case of a CLI request type)