Skip to content

Commit

Permalink
fix: Do not check for strict cookie when running webcron
Browse files Browse the repository at this point in the history
Signed-off-by: Ferdinand Thiessen <[email protected]>
  • Loading branch information
susnux authored and backportbot[bot] committed Nov 15, 2024
1 parent 52f85a0 commit 1fc6cce
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/base.php
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,9 @@ private static function performSameSiteCookieProtection(\OCP\IConfig $config): v
$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;
}

Expand Down

0 comments on commit 1fc6cce

Please sign in to comment.