start adding exam dates
This commit is contained in:
+1
-1
@@ -413,7 +413,7 @@ def exam_scores_cid_user(request, pk, cid, passcode):
|
||||
if not exam.exam_mode:
|
||||
raise Http404("Packet not in exam mode")
|
||||
|
||||
if not exam.check_cid_user(cid, passcode, request):
|
||||
if not exam.check_cid_user(cid, passcode, request.user):
|
||||
raise Http404("Error accessing exam")
|
||||
|
||||
questions = exam.exam_questions.all()
|
||||
|
||||
Reference in New Issue
Block a user