mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-10 15:32:38 -07:00
API enabled by default
This commit is contained in:
parent
3df7642193
commit
e51a425389
3 changed files with 11 additions and 4 deletions
|
@ -3539,7 +3539,7 @@ class WebInterface(object):
|
|||
def generate_api_key(self, device=None, **kwargs):
|
||||
apikey = ''
|
||||
while not apikey or apikey == plexpy.CONFIG.API_KEY or mobile_app.get_mobile_device_by_token(device_token=apikey):
|
||||
apikey = uuid.uuid4().hex
|
||||
apikey = plexpy.generate_uuid()
|
||||
|
||||
logger.info(u"New API key generated.")
|
||||
logger._BLACKLIST_WORDS.add(apikey)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue