mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-16 02:02:58 -07:00
Check for HTTP Basic Auth in AuthController
This commit is contained in:
parent
cc1092a8a2
commit
73001a4427
1 changed files with 1 additions and 1 deletions
|
@ -276,7 +276,7 @@ def check_rate_limit(ip_address):
|
|||
class AuthController(object):
|
||||
|
||||
def check_auth_enabled(self):
|
||||
if plexpy.CONFIG.HTTP_PASSWORD:
|
||||
if not plexpy.CONFIG.HTTP_BASIC_AUTH and plexpy.CONFIG.HTTP_PASSWORD:
|
||||
return
|
||||
raise cherrypy.HTTPRedirect(plexpy.HTTP_ROOT)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue