Commit d49c7b46 authored by Markus Klein's avatar Markus Klein Committed by Andreas Fernandez
Browse files

[BUGFIX] Correctly insert session data after deleting them

Reset session data timestamp when removing session data in order to
assure that new session data are stored via INSERT later again.

Resolves: #67007
Releases: master, 6.2
Change-Id: I181017687f9569d4e2a16ca3a970367b05cf7d52
Reviewed-on: http://review.typo3.org/39597

Reviewed-by: default avatarJohann Carstens <johann.carstens@conlabz.de>
Tested-by: default avatarJohann Carstens <johann.carstens@conlabz.de>
Reviewed-by: Andreas Fernandez's avatarAndreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez's avatarAndreas Fernandez <typo3@scripting-base.de>
parent 2e891e51
......@@ -448,6 +448,7 @@ class FrontendUserAuthentication extends AbstractUserAuthentication {
* @return void
*/
public function removeSessionData() {
$this->sessionDataTimestamp = NULL;
$this->db->exec_DELETEquery('fe_session_data', 'hash=' . $this->db->fullQuoteStr($this->id, 'fe_session_data'));
}
......
Supports Markdown
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