mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-10 15:32:38 -07:00
Fix unable to view database status when auth is disabled
This commit is contained in:
parent
13579b8140
commit
e4be5a716f
3 changed files with 8 additions and 5 deletions
|
@ -5884,7 +5884,7 @@ class WebInterface(object):
|
|||
status = {'result': 'success', 'message': 'Ok'}
|
||||
|
||||
if args or kwargs:
|
||||
if not cherrypy.request.path_info == '/api/v2':
|
||||
if not cherrypy.request.path_info == '/api/v2' and plexpy.AUTH_ENABLED:
|
||||
cherrypy.request.config['auth.require'] = []
|
||||
check_auth()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue