From e66f609a6448d0e691d95516732d6d92b8bbab48 Mon Sep 17 00:00:00 2001 From: Thomas Tanghus Date: Sat, 25 May 2013 05:51:51 +0300 Subject: [PATCH] Hack base.php to make Basic Auth work --- lib/base.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/base.php b/lib/base.php index 724bd250a5..8622d0f8bf 100644 --- a/lib/base.php +++ b/lib/base.php @@ -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; }