Skip to content
Snippets Groups Projects
Commit 9031d795 authored by Lukas Reschke's avatar Lukas Reschke
Browse files

Return UID instead of login name

Without this OCS on LDAP is broken for API requests coming via Basic Authentication...
parent c20be245
No related branches found
No related tags found
No related merge requests found
......@@ -297,7 +297,7 @@ class OC_API {
// initialize the user's filesystem
\OC_Util::setUpFS(\OC_User::getUser());
return $authUser;
return \OC_User::getUser();
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment