Skip to content
Snippets Groups Projects
Commit 92bb2cf2 authored by Julian Rother's avatar Julian Rother
Browse files

Fixed error code in auth handler (finally closes #282)

parent 140275a2
No related branches found
No related tags found
No related merge requests found
...@@ -586,7 +586,7 @@ def auth(): # For use with nginx auth_request ...@@ -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''', ORDER BY perm.video_id DESC, perm.lecture_id DESC, perm.course_id DESC''',
url) url)
if not perms: if not perms:
return "Not allowed", 403 return "Not found", 404
auth = request.authorization auth = request.authorization
username = password = None username = password = None
if auth: if auth:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment