Merge pull request #49130 from nextcloud/fix/cron-strict-cookie

fix: Do not check for strict cookie when running webcron
This commit is contained in:
Joas Schilling 2024-11-15 13:25:24 +01:00 committed by GitHub
commit 7ed72e1d3e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -517,7 +517,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;
}