Commit 92bb2cf2 authored by Julian Rother's avatar Julian Rother
Browse files

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

parent 140275a2
......@@ -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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment