summaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/base.php')
-rw-r--r--lib/base.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/base.php b/lib/base.php
index cba5d4a4276..99c2764d22c 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -699,6 +699,9 @@ class OC {
if (!OC_User::isLoggedIn()) {
// Test it the user is already authenticated using Apaches AuthType Basic... very usable in combination with LDAP
+ if (!OC_Config::getValue('maintenance', false) && !self::checkUpgrade(false)) {
+ OC_App::loadApps(array('authentication'));
+ }
OC::tryBasicAuthLogin();
}