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

manager checkPassword now returns User object, adjust internal user class accordingly.

parent 68bfcfbf
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 $manager->get($username)->getUID();
return $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