From 05a95fbac446168fe08624706a56d9c4cf23cda6 Mon Sep 17 00:00:00 2001 From: Athanasius Date: Wed, 25 Aug 2021 14:23:14 +0100 Subject: [PATCH] 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 ? --- companion.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/companion.py b/companion.py index a6e80345..aa305b9f 100644 --- a/companion.py +++ b/companion.py @@ -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: