Commit 1a9cf270 authored by Andreas Valder's avatar Andreas Valder
Browse files

Merge branch 'master' of git.fsmpi.rwth-aachen.de:videoagwebsite/videoagwebsite

parents 8dae0f76 f0a4d974
......@@ -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