From 578a57f0fbfef9c76aa0fe9107318e7faed7c90b Mon Sep 17 00:00:00 2001 From: gekmihesg Date: Sun, 10 Aug 2014 13:29:32 +0200 Subject: [PATCH] Load authentication backends before tryBasicAuth --- lib/base.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/base.php b/lib/base.php index a6f6f6f71d..b79998b352 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(); }