summaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2013-05-25 05:51:51 +0300
committerThomas Tanghus <thomas@tanghus.net>2013-05-25 05:51:51 +0300
commite66f609a6448d0e691d95516732d6d92b8bbab48 (patch)
tree49b13a0d1598947afc6f60cef5247d4f2484e2b9 /lib/base.php
parent6a6c18dfab494324d5fa7c2ea7a299830dd79612 (diff)
downloadnextcloud-server-e66f609a6448d0e691d95516732d6d92b8bbab48.tar.gz
nextcloud-server-e66f609a6448d0e691d95516732d6d92b8bbab48.zip
Hack base.php to make Basic Auth work
Diffstat (limited to 'lib/base.php')
-rw-r--r--lib/base.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/base.php b/lib/base.php
index 724bd250a5c..8622d0f8bf1 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;
}