diff --git a/server.py b/server.py index 7386eef5aa8cc2a158996e49d0769d09bb7caa86..a90837dd0bab814d5acdff860b6db1e1881ef484 100644 --- a/server.py +++ b/server.py @@ -586,7 +586,7 @@ def auth(): # For use with nginx auth_request ORDER BY perm.video_id DESC, perm.lecture_id DESC, perm.course_id DESC''', url) if not perms: - return "Not allowed", 403 + return "Not found", 404 auth = request.authorization username = password = None if auth: