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

fix: Do not check for strict cookie when running webcron
pull/49311/head
Joas Schilling 2 years ago committed by GitHub
commit 7ed72e1d3e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      lib/base.php

@ -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;
}

Loading…
Cancel
Save