Bug #81592

Session data lost after authentication

Added by Paul Ilea 4 months ago.

Status:
New
Priority:
Must have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2017-06-16
Due date:
% Done:

0%

TYPO3 Version:
8
PHP Version:
7.1
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:

Description

Session data set by the (custom) Authentication Service classes in lost after the authentication. I think it's because the session data is read before the service class methods are called and if the previous session was 'anonymous', the first read data (before the authentication services are called) is saved to the new session.
I've added a possible patch in the form of a diff file attached to this issue ticket. With this changes the 'anonymous' session is read once again right before the authenticated session is created.

fixSessionDataLossAtAuthentication.diff View (958 Bytes) Paul Ilea, 2017-06-16 11:50

Also available in: Atom PDF