diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2013-09-24 14:11:47 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2013-09-24 14:11:47 +0200 |
commit | 0a7ee7c3f7b6825815a5aae1e41725481dbbfb08 (patch) | |
tree | 3a635ba73a7d1614ab51acd8c4ea43ef6a17b808 /lib/user.php | |
parent | fe88a62d6e9ee4bb138ac4fb0fe81d8fbe082e09 (diff) | |
download | nextcloud-server-0a7ee7c3f7b6825815a5aae1e41725481dbbfb08.tar.gz nextcloud-server-0a7ee7c3f7b6825815a5aae1e41725481dbbfb08.zip |
Fix return value from User object to User ID
Diffstat (limited to 'lib/user.php')
-rw-r--r-- | lib/user.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/user.php b/lib/user.php index 8868428ce24..ba6036bad96 100644 --- a/lib/user.php +++ b/lib/user.php @@ -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; } |