mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-11 07:46:07 -07:00
Fix Tautulli logging out after saving settings and restarting
This commit is contained in:
parent
7085042b0d
commit
ec8aae9122
1 changed files with 4 additions and 3 deletions
|
@ -2857,9 +2857,6 @@ class WebInterface(object):
|
||||||
else:
|
else:
|
||||||
kwargs['http_password'] = plexpy.CONFIG.HTTP_PASSWORD
|
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'):
|
elif kwargs['http_password'] and kwargs.get('http_hash_password'):
|
||||||
kwargs['http_password'] = make_hash(kwargs['http_password'])
|
kwargs['http_password'] = make_hash(kwargs['http_password'])
|
||||||
kwargs['http_hashed_password'] = 1
|
kwargs['http_hashed_password'] = 1
|
||||||
|
@ -2869,6 +2866,10 @@ class WebInterface(object):
|
||||||
|
|
||||||
elif not kwargs.get('http_hash_password'):
|
elif not kwargs.get('http_hash_password'):
|
||||||
kwargs['http_hashed_password'] = 0
|
kwargs['http_hashed_password'] = 0
|
||||||
|
|
||||||
|
# Flag to refresh JWT uuid to log out clients
|
||||||
|
kwargs['jwt_update_secret'] = True
|
||||||
|
|
||||||
else:
|
else:
|
||||||
kwargs['http_hashed_password'] = 0
|
kwargs['http_hashed_password'] = 0
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue