More template filters for Libraries, Users, and Sync
This commit is contained in:
@@ -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")
|
||||
|
||||
|
Reference in New Issue
Block a user