Return UID instead of login name

Without this OCS on LDAP is broken for API requests coming via Basic Authentication...
This commit is contained in:
Lukas Reschke 2014-12-17 20:33:22 +01:00
parent c20be24559
commit 9031d79597
1 changed files with 1 additions and 1 deletions

View File

@ -297,7 +297,7 @@ class OC_API {
// initialize the user's filesystem
\OC_Util::setUpFS(\OC_User::getUser());
return $authUser;
return \OC_User::getUser();
}
}