mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-10 15:32:38 -07:00
Flag update JWT UUID after restarting
This commit is contained in:
parent
f21d505ab8
commit
7498617b74
4 changed files with 15 additions and 15 deletions
|
@ -2856,15 +2856,15 @@ class WebInterface(object):
|
|||
else:
|
||||
kwargs['http_password'] = plexpy.CONFIG.HTTP_PASSWORD
|
||||
|
||||
# Refresh JWT uuid to log out clients
|
||||
webauth.jwt_uuid(refresh=True)
|
||||
# Flag to refresh JWT uuid to log out clients
|
||||
kwargs['jwt_update_uuid'] = True
|
||||
|
||||
elif kwargs['http_password'] and kwargs.get('http_hash_password'):
|
||||
kwargs['http_password'] = make_hash(kwargs['http_password'])
|
||||
kwargs['http_hashed_password'] = 1
|
||||
|
||||
# Refresh JWT uuid to log out clients
|
||||
webauth.jwt_uuid(refresh=True)
|
||||
# Flag to refresh JWT uuid to log out clients
|
||||
kwargs['jwt_update_uuid'] = True
|
||||
|
||||
elif not kwargs.get('http_hash_password'):
|
||||
kwargs['http_hashed_password'] = 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue