diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-11-07 16:34:10 +0100 |
---|---|---|
committer | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-11-07 16:34:10 +0100 |
commit | 0cd626a05968c41de0f747b6547c5a1811035fed (patch) | |
tree | b665d168bdce4314c65a92dcb9ee75339944253f | |
parent | 373ad6cf33839e5fdb219827caabd150e6c135c7 (diff) | |
download | nextcloud-server-0cd626a05968c41de0f747b6547c5a1811035fed.tar.gz nextcloud-server-0cd626a05968c41de0f747b6547c5a1811035fed.zip |
fix: Do not check for strict cookie when running webcronfix/cron-strict-cookie
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
-rw-r--r-- | lib/base.php | 4 |
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; } |