aboutsummaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/base.php')
-rw-r--r--lib/base.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/base.php b/lib/base.php
index 7654aef2b60..bf23fd19a3f 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -515,7 +515,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;
}