From 92bb2cf223c2b878dd9f157eb695112f84a230e9 Mon Sep 17 00:00:00 2001
From: Julian Rother <julianr@fsmpi.rwth-aachen.de>
Date: Mon, 21 Aug 2017 20:04:50 +0200
Subject: [PATCH] Fixed error code in auth handler (finally closes #282)

---
 server.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server.py b/server.py
index 7386eef..a90837d 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:
-- 
GitLab