mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-07 21:51:14 -07:00
More template filters for Libraries, Users, and Sync
This commit is contained in:
parent
4f8a5211f8
commit
89694b5069
13 changed files with 74 additions and 43 deletions
|
@ -58,7 +58,7 @@ def check_auth(*args, **kwargs):
|
|||
for condition in conditions:
|
||||
# A condition is just a callable that returns true or false
|
||||
if not condition():
|
||||
raise cherrypy.HTTPRedirect("auth/login")
|
||||
raise cherrypy.HTTPRedirect(plexpy.HTTP_ROOT)
|
||||
else:
|
||||
raise cherrypy.HTTPRedirect("auth/login")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue