From ddea03b4791d092495ee8dcbf035a246b1533bd7 Mon Sep 17 00:00:00 2001 From: MrARM Date: Fri, 10 Jul 2020 22:17:44 -0500 Subject: [PATCH] Small fix to make login work again I saw this fix posted on #20, I want to get this into master --- sxm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sxm.py b/sxm.py index 398b480..7019f7c 100644 --- a/sxm.py +++ b/sxm.py @@ -25,7 +25,7 @@ def log(x): print('{} : {}'.format(datetime.datetime.now().strftime('%d.%b %Y %H:%M:%S'), x)) def is_logged_in(self): - return 'SXMAUTH' in self.session.cookies + return 'SXMAUTHNEW' in self.session.cookies def is_session_authenticated(self): return 'AWSELB' in self.session.cookies and 'JSESSIONID' in self.session.cookies