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 ae59aba commit a7346ef
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 @@ -577,7 +577,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 a7346ef

Please sign in to comment.