From 73001a442757e9500f84dbd51dfb9bad8bb3f3d8 Mon Sep 17 00:00:00 2001 From: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com> Date: Thu, 15 Jul 2021 13:21:09 -0700 Subject: [PATCH] Check for HTTP Basic Auth in AuthController --- plexpy/webauth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plexpy/webauth.py b/plexpy/webauth.py index 414a69e5..e081c0a7 100644 --- a/plexpy/webauth.py +++ b/plexpy/webauth.py @@ -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)