lib/spaceship/tunes/tunes_client.rb in spaceship-0.11.4 vs lib/spaceship/tunes/tunes_client.rb in spaceship-0.11.5
- old
+ new
@@ -86,10 +86,10 @@
raise ITunesConnectError.new, [response.body, response['Set-Cookie']].join("\n")
end
return @client
else
- if (response.body || "").include?("You have successfully signed out")
+ if (response.body || "").include?("Your Apple ID or password was entered incorrectly")
# User Credentials are wrong
raise InvalidUserCredentialsError.new, "Invalid username and password combination. Used '#{user}' as the username."
else
info = [response.body, response['Set-Cookie']]
raise ITunesConnectError.new, info.join("\n")