Actions
Bug #62484
closedIf cookieSecure is set to 1, scheduler tasks trigger via CLI can fail
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
scheduler
Target version:
-
Start date:
2014-10-27
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
If cookieSecure is set to 1 the check for TYPO3_SSL in
\TYPO3\CMS\Core\Authentication\AbstractUserAuthentication::setSessionCookie()
will fail (as TYPO3_SSL is not set when called via CLI).
I'm not sure if this really a bug; Should dontSetCookie
be set in these cases??
Updated by Mathias Schreiber over 8 years ago
- Status changed from New to Resolved
if (TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_CLI) { $backendUser->dontSetCookie = true; }
taken from bootstrap.
Actions