Add a couple of bug fixes, and make the server option a checkbox

This commit is contained in:
blitzmann
2022-05-08 13:48:38 -04:00
parent ed48a8b5d0
commit 27101732ca
3 changed files with 24 additions and 21 deletions

View File

@@ -108,7 +108,7 @@ class Esi(EsiAccess):
from gui.esiFittings import ESIExceptionHandler
try:
if self.default_server_name == "Serenity":
if self.server_name == "Serenity":
s = re.search(r'(?<=code=)[a-zA-Z0-9\-_]*', dlg.ssoInfoCtrl.Value.strip())
if s:
# skip state verification and go directly through the auth code processing