From 058324b80e18474e0b3bd55ce9be8410209da1d2 Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Wed, 17 Dec 2014 21:42:07 +0100 Subject: [PATCH] Check basic auth header only for not-logged-in users --- lib/base.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/base.php b/lib/base.php index 50b64c25cc..ae87ecff39 100644 --- a/lib/base.php +++ b/lib/base.php @@ -760,13 +760,13 @@ class OC { // Load minimum set of apps if (!self::checkUpgrade(false)) { // For logged-in users: Load everything - \OC_User::tryBasicAuthLogin(); if(OC_User::isLoggedIn()) { OC_App::loadApps(); } else { // For guests: Load only authentication, filesystem and logging OC_App::loadApps(array('authentication')); OC_App::loadApps(array('filesystem', 'logging')); + \OC_User::tryBasicAuthLogin(); } }