Fix return value from User object to User ID

This commit is contained in:
Arthur Schiwon 2013-09-24 14:11:47 +02:00
parent fe88a62d6e
commit 0a7ee7c3f7
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 $manger->get($username);
return $manager->get($username)->getUID();
}
return false;
}