Skip to content
Snippets Groups Projects
Commit 0a7ee7c3 authored by Arthur Schiwon's avatar Arthur Schiwon
Browse files

Fix return value from User object to User ID

parent fe88a62d
No related branches found
No related tags found
No related merge requests found
......@@ -419,7 +419,7 @@ class OC_User {
$manager = self::getManager();
$username = $manager->checkPassword($uid, $password);
if ($username !== false) {
return $manger->get($username);
return $manager->get($username)->getUID();
}
return false;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment