update check_cid_user

This commit is contained in:
Ross
2023-06-26 11:51:16 +01:00
parent dc195effc6
commit 09951286e2
2 changed files with 12 additions and 3 deletions
+1 -1
View File
@@ -1796,7 +1796,7 @@ class ExamViews(View, LoginRequiredMixin):
if not exam.exam_mode:
raise Http404("Packet not in exam mode")
if cid is not None and not exam.check_cid_user(cid, passcode, request):
if not exam.check_cid_user(cid, passcode, request):
raise Http404("Error accessing exam")
if user is not None: