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

This commit is contained in:
Arthur Schiwon 2013-09-25 15:03:22 +02:00
parent 68bfcfbf77
commit 1c976a7c9b
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}