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