ValvePython / steam

☁️ Python package for interacting with Steam
http://steam.readthedocs.io
MIT License
1.06k stars 129 forks source link

WebAuth.cli_login() needs to raise exception for ratelimit condition #316

Open rossengeorgiev opened 3 years ago

rossengeorgiev commented 3 years ago

Currently when we hit ratelimit it looks like incorrect password which is misleading and confusing.

Response:

{'success': False,
 'requires_twofactor': False,
 'message': 'There have been too many login failures from your network in a short time period.  Please wait and try again later.',
 'captcha_needed': False,
 'captcha_gid': -1
}

315