Skip to content

Commit f69f16d

Browse files
committed
Removed access code message
1 parent 1bb852a commit f69f16d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/Http/Controllers/EnrollmentController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -628,7 +628,7 @@ function store(StoreEnrollment $request,
628628
}
629629
if ($section->course->lms && $section->course->lms_only_entry && !$request->session()->has('lti_user_id')) {
630630
DB::rollback();
631-
$response = '{"message":"The given data was invalid.","errors":{"access_code":["You are trying to enroll in a course that is being served through an LMS such as Canvas, Blackboard, or Brightspace. Please log into your LMS and enter the first ADAPT assignment; you will then be prompted to enter the access code."]}}';
631+
$response = '{"message":"The given data was invalid.","errors":{"access_code":["You are trying to enroll in a course that is being served through an LMS such as Canvas, Blackboard, or Brightspace. Please log into your LMS and enter the first ADAPT assignment."]}}';
632632
return response($response, 422);
633633
}
634634
if ($section->course->lms && !$section->course->lms_only_entry && !$user->fake_student) {

0 commit comments

Comments
 (0)