diff --git a/generic/views.py b/generic/views.py index 4a12f71b..558badb6 100644 --- a/generic/views.py +++ b/generic/views.py @@ -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