/** * @brief Check if the password is correct * @param $uid The username * @param $password The password * @returns true/false * * Check if the password is correct without logging in the user */ public static function checkPassword($uid, $password) { return \OC_USER::checkPassword($uid, $password); }