fix: Do not check for strict cookie when running webcron

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
Ferdinand Thiessen 2024-11-07 16:34:10 +01:00 committed by backportbot[bot]
parent 52f85a00f4
commit 1fc6cceef8

View file

@ -515,7 +515,9 @@ class OC {
$processingScript = $processingScript[count($processingScript) - 1];
// index.php routes are handled in the middleware
if ($processingScript === 'index.php') {
// and cron.php does not need any authentication at all
if ($processingScript === 'index.php'
|| $processingScript === 'cron.php') {
return;
}