Load authentication backends before tryBasicAuth

This commit is contained in:
gekmihesg 2014-08-10 13:29:32 +02:00
parent c920ca32e8
commit 578a57f0fb
1 changed files with 3 additions and 0 deletions

View File

@ -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();
}