manager checkPassword now returns User object, adjust internal user class accordingly.
This commit is contained in:
parent
68bfcfbf77
commit
1c976a7c9b
|
@ -419,7 +419,7 @@ class OC_User {
|
||||||
$manager = self::getManager();
|
$manager = self::getManager();
|
||||||
$username = $manager->checkPassword($uid, $password);
|
$username = $manager->checkPassword($uid, $password);
|
||||||
if ($username !== false) {
|
if ($username !== false) {
|
||||||
return $manager->get($username)->getUID();
|
return $username->getUID();
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue