aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2024-11-15 13:25:24 +0100
committerGitHub <noreply@github.com>2024-11-15 13:25:24 +0100
commit7ed72e1d3ea0ae3473ed96c8d79e8566d5926d74 (patch)
tree70565c19450b7820790f145b9bb99bdbf7c6e44c /lib
parentd1e92679e01dd6e7b421596016150b042bb2ea87 (diff)
parent0cd626a05968c41de0f747b6547c5a1811035fed (diff)
downloadnextcloud-server-7ed72e1d3ea0ae3473ed96c8d79e8566d5926d74.tar.gz
nextcloud-server-7ed72e1d3ea0ae3473ed96c8d79e8566d5926d74.zip
Merge pull request #49130 from nextcloud/fix/cron-strict-cookie
fix: Do not check for strict cookie when running webcron
Diffstat (limited to 'lib')
-rw-r--r--lib/base.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/base.php b/lib/base.php
index 5bab5d9f3f6..53231999e81 100644
--- a/lib/base.php
+++ b/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;
}