From ec8aae912215e44e65533cb813784135fe89f7cf Mon Sep 17 00:00:00 2001 From: JonnyWong16 Date: Thu, 19 Sep 2019 19:37:31 -0700 Subject: [PATCH] Fix Tautulli logging out after saving settings and restarting --- plexpy/webserve.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/plexpy/webserve.py b/plexpy/webserve.py index edff4cc9..b87d3364 100644 --- a/plexpy/webserve.py +++ b/plexpy/webserve.py @@ -2857,9 +2857,6 @@ class WebInterface(object): else: kwargs['http_password'] = plexpy.CONFIG.HTTP_PASSWORD - # Flag to refresh JWT uuid to log out clients - kwargs['jwt_update_secret'] = True - elif kwargs['http_password'] and kwargs.get('http_hash_password'): kwargs['http_password'] = make_hash(kwargs['http_password']) kwargs['http_hashed_password'] = 1 @@ -2869,6 +2866,10 @@ class WebInterface(object): elif not kwargs.get('http_hash_password'): kwargs['http_hashed_password'] = 0 + + # Flag to refresh JWT uuid to log out clients + kwargs['jwt_update_secret'] = True + else: kwargs['http_hashed_password'] = 0