From eb68b0d5c64fa4e818951e39db30fe29ab3f0baf 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 1e6d5cf808b..d08778ef848 100644 --- a/lib/base.php +++ b/lib/base.php @@ -692,6 +692,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(); } -- 2.39.5