mirror of
https://github.com/nextcloud/server.git
synced 2026-04-21 22:27:31 -04:00
Fix return value from User object to User ID
This commit is contained in:
parent
fe88a62d6e
commit
0a7ee7c3f7
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue