mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-15 17:52:59 -07:00
Add do not download keys to config
This commit is contained in:
parent
81dc790a0c
commit
71d64a4b3f
2 changed files with 5 additions and 2 deletions
|
@ -4848,8 +4848,8 @@ class WebInterface(object):
|
|||
|
||||
try:
|
||||
cfg = config.Config(config_copy)
|
||||
cfg.PMS_TOKEN = ''
|
||||
cfg.JWT_SECRET = ''
|
||||
for key in config._DO_NOT_DOWNLOAD_KEYS:
|
||||
setattr(cfg, key, '')
|
||||
cfg.write()
|
||||
except:
|
||||
cherrypy.response.status = 500
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue