Skip to content
Snippets Groups Projects
Commit 7c9e3876 authored by Oliver Hader's avatar Oliver Hader Committed by Oliver Hader
Browse files

[BUGFIX] Create session cookie when explicitly requested

The fix for issue #100695 reorganized the logic for setting
new cookies. However, the assumption - to only set a cookie
when the class property `$dontSetCookie` is disabled or a
permanent cookie is used - is wrong.

Previous TYPO3 versions were issuing new cookies, when
`AbstractUserAuthentication::setSessionCookie()` was invoked.
This change restores the previous behavior.

Resolves: #100787
Releases: main
Change-Id: I661a64546b99459eb81e466fdd5b03e56aeb6e93
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78923


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarDaniel Haupt <mail@danielhaupt.de>
Reviewed-by: default avatarThomas Hohn <tho@gyldendal.dk>
Reviewed-by: default avatarMarkus Klein <markus.klein@typo3.org>
Tested-by: default avatarDaniel Haupt <mail@danielhaupt.de>
parent ead2eeec
Branches
Tags
No related merge requests found
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