This commit is contained in:
Ross
2021-12-15 18:22:00 +00:00
parent e936708119
commit 837aab5384
+1 -1
View File
@@ -642,7 +642,7 @@ class ExamViews(View, LoginRequiredMixin):
for exam in exams:
if exam.active or self.check_user_access(request.user, exam.pk):
print(exam.name, cid, passcode)
if not exam.check_cid_user(cid, passcode):
if exam.exam_mode and not exam.check_cid_user(cid, passcode):
print(exam.name, "fail")
continue