[BUGFIX] Only set a session anonymous if in FE context 35/51635/4
authorNicole Cordes <typo3@cordes.co>
Sat, 11 Feb 2017 15:24:36 +0000 (16:24 +0100)
committerMarkus Klein <markus.klein@typo3.org>
Sat, 11 Feb 2017 18:26:00 +0000 (19:26 +0100)
commitc500f4f6952d35cda6bd785dafbd1669ee883eca
treedabded26b73ea9aff627789536d486d4a22dca6d
parent3092bcb3d35ec8f033b0c26d22991305278e2647
[BUGFIX] Only set a session anonymous if in FE context

The session id regeneration must not touch the sys_anonymous field
of the session record, since it only exists for FE session.
The FrontendUserAuthentication is responsible for this.

Resolves: #79757
Releases: master
Change-Id: Iefcc678b9171830b587432fa7fbbc9e77033931f
Reviewed-on: https://review.typo3.org/51635
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/core/Classes/Authentication/AbstractUserAuthentication.php
typo3/sysext/frontend/Classes/Authentication/FrontendUserAuthentication.php