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