mirror of
https://github.com/nextcloud/server.git
synced 2024-07-29 20:15:55 +02:00
Merge pull request #10323 from gekmihesg/master
Load authentication backends before tryBasicAuth
This commit is contained in:
commit
54491e8c68
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user