Add logger warning message when authentication is disabled

This commit is contained in:
JonnyWong16 2022-01-05 15:56:23 -08:00
parent 16f20c941c
commit 206a175839
No known key found for this signature in database
GPG key ID: 7A649674469E6574

View file

@ -127,6 +127,8 @@ def initialize(options):
basic_auth_enabled = False
cherrypy.tools.auth = cherrypy.Tool('before_handler', webauth.check_auth, priority=2)
else:
logger.warn("Tautulli WebStart :: Web server authentication is disabled!")
plexpy.AUTH_ENABLED = False
basic_auth_enabled = False