[BUGFIX] Session cookie is not recreated on login
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Classes / Authentication / AbstractUserAuthentication.php
index 6a63001..05ed944 100644 (file)
@@ -706,6 +706,7 @@ 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)