Commit 135f7e3b by David Ormsbee

Make sure audit enrollments are really marked audit.

parent cf8b7c6e
......@@ -66,7 +66,7 @@ class ChooseModeView(View):
return HttpResponseBadRequest(_("Enrollment mode not supported"))
if requested_mode in ("audit", "honor"):
CourseEnrollment.enroll(user, course_id)
CourseEnrollment.enroll(user, course_id, requested_mode)
return redirect('dashboard')
mode_info = allowed_modes[requested_mode]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment