Hack base.php to make Basic Auth work
This commit is contained in:
parent
6a6c18dfab
commit
e66f609a64
1 changed files with 2 additions and 1 deletions
|
@ -571,6 +571,7 @@ class OC {
|
|||
self::checkUpgrade();
|
||||
}
|
||||
|
||||
OC::tryBasicAuthLogin();
|
||||
if (!self::$CLI) {
|
||||
try {
|
||||
if (!OC_Config::getValue('maintenance', false)) {
|
||||
|
@ -779,7 +780,7 @@ class OC {
|
|||
//OC_Log::write('core',"Logged in with HTTP Authentication", OC_Log::DEBUG);
|
||||
OC_User::unsetMagicInCookie();
|
||||
$_REQUEST['redirect_url'] = OC_Request::requestUri();
|
||||
OC_Util::redirectToDefaultPage();
|
||||
//OC_Util::redirectToDefaultPage();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue