mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-30 11:38:36 -07:00
Expire the previous JWT on update if HTTP root is set
* Required for Tautulli/Tautulli-Issues#255
This commit is contained in:
parent
ff887d9948
commit
48f846da40
3 changed files with 13 additions and 3 deletions
|
@ -943,4 +943,10 @@ class Config(object):
|
|||
if plexpy.DOCKER:
|
||||
self.PLEXPY_AUTO_UPDATE = 0
|
||||
|
||||
self.CONFIG_VERSION == 15
|
||||
self.CONFIG_VERSION = 15
|
||||
|
||||
if self.CONFIG_VERSION == 15:
|
||||
if self.HTTP_ROOT and self.HTTP_ROOT != '/':
|
||||
self.JWT_UPDATE_SECRET = True
|
||||
|
||||
self.CONFIG_VERSION = 16
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue