diff --git a/lib/user.php b/lib/user.php index ba6036bad96..da774ff86f0 100644 --- a/lib/user.php +++ b/lib/user.php @@ -410,7 +410,7 @@ class OC_User { * @brief Check if the password is correct * @param string $uid The username * @param string $password The password - * @return bool + * @return mixed user id a string on success, false otherwise * * Check if the password is correct without logging in the user * returns the user id or false