fix: Do not check for strict cookie when running webcron

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
pull/49130/head
Ferdinand Thiessen 2 weeks ago
parent 373ad6cf33
commit 0cd626a059
No known key found for this signature in database
GPG Key ID: 45FAE7268762B400
  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