[BUGFIX] Set correct cookie when permalogin is enabled 07/31607/8
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:21:38 +0000 (14:21 +0200)
commit74857fb0e4cb259b6cc8dabf8aced3e3679a2384
tree565059682220b5172c20636c6b765a78d6f0000d
parentd02962f315e9f5cfbe8e74350389d45e7f68ef55
[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/31607
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Pierrick Caillon <pierrick.caillon@plan-net.fr>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Jan Schreier <jan-hendrik.schreier@bits-iserlohn.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/frontend/Classes/Authentication/FrontendUserAuthentication.php