1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-05-30 15:19:40 +03:00

companion: Update WTF comment about login/beta

This is probably a left-over from the days of email+password login, not
wanting to send that to anything but live CAPI server ?
This commit is contained in:
Athanasius 2021-08-25 14:23:14 +01:00
parent 120414ac59
commit 05a95fbac4
No known key found for this signature in database
GPG Key ID: AE3E527847057C7D

View File

@ -648,6 +648,8 @@ class Session(object):
raise CredentialsError('cannot login without a valid Client ID')
# TODO: WTF is the intent behind this logic ?
# Perhaps to do with not even trying to auth if we're not sure if
# it's beta, but that's moot for *auth* since oAuth2.
if not cmdr or is_beta is None:
# Use existing credentials
if not self.credentials: