Skip to content
Snippets Groups Projects
Commit 4248fb83 authored by Morton Jonuschat's avatar Morton Jonuschat Committed by Stefan Neufeind
Browse files

[BUGFIX] Initialize new session with empty data field

Initialize the ses_data key with an empty string when
creating a new session record to avoid problems with
active MySQL strict mode.

Resolves: #52358
Releases: master
Change-Id: Ib432812797015511aa1b1230eec9d0cc4d391c74
Reviewed-on: http://review.typo3.org/41758


Reviewed-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
Tested-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: default avatarStefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: default avatarStefan Neufeind <typo3.neufeind@speedpartner.de>
parent 87af9d6d
Branches
Tags
No related merge requests found
......@@ -888,7 +888,8 @@ abstract class AbstractUserAuthentication {
'ses_iplock' => $tempuser['disableIPlock'] ? '[DISABLED]' : $this->ipLockClause_remoteIPNumber($this->lockIP),
'ses_hashlock' => $this->hashLockClause_getHashInt(),
'ses_userid' => $tempuser[$this->userid_column],
'ses_tstamp' => $GLOBALS['EXEC_TIME']
'ses_tstamp' => $GLOBALS['EXEC_TIME'],
'ses_data' => ''
);
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment