[BUGFIX] Set correct cookie when permalogin is enabled 54/31754/2
authorGernot Schulmeister <gernotschulmeister@gmx.at>
Mon, 14 Jul 2014 21:17:37 +0000 (23:17 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Thu, 24 Jul 2014 12:23:39 +0000 (14:23 +0200)
commit7c2550ab82cf9ad0d9235914cc1b813e4b7a1852
tree8b36130600c6135c320f435c47c0e6c4f79baa80
parentfb8ae239880200fe599095067119c8e75ec48c90
[BUGFIX] Set correct cookie when permalogin is enabled

Although permalogin is enabled we set a session cookie.
This happens because setSessionCookie is called too early
and we do not know yet whether the session should be permanent
and an according cookie shall be set or not.

Solution is to set $this->dontSetCookie = FALSE
which triggers setting the cookie at an appropriate time.

Resolves: #60264
Releases: 6.3, 6.2
Change-Id: Iad5ce8597f90c4a607a43ea4d3368d117fa6b4ed
Reviewed-on: http://review.typo3.org/31754
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/frontend/Classes/Authentication/FrontendUserAuthentication.php