Skip to content

Commit 3471c0a

Browse files
Merge pull request #49309 from nextcloud/backport/49130/stable29
2 parents ae59aba + a7346ef commit 3471c0a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

lib/base.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,9 @@ private static function performSameSiteCookieProtection(\OCP\IConfig $config): v
577577
$processingScript = $processingScript[count($processingScript) - 1];
578578

579579
// index.php routes are handled in the middleware
580-
if ($processingScript === 'index.php') {
580+
// and cron.php does not need any authentication at all
581+
if ($processingScript === 'index.php'
582+
|| $processingScript === 'cron.php') {
581583
return;
582584
}
583585

0 commit comments

Comments
 (0)