Skip to content

Commit

Permalink
Merge pull request #2640 from drgrice1/fix-lti-invalid-set-message
Browse files Browse the repository at this point in the history
Fix the invalid set "You must use your LMS to access this set" message.
  • Loading branch information
somiaj authored Dec 3, 2024
2 parents 87f6301 + 711ea44 commit 4a0953f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/WeBWorK/Authz.pm
Original file line number Diff line number Diff line change
Expand Up @@ -500,11 +500,12 @@ sub checkSet {
$ce->{LTI}{ $ce->{LTIVersion} }{LMS_url}
? $c->link_to($ce->{LTI}{ $ce->{LTIVersion} }{LMS_name} => $ce->{LTI}{ $ce->{LTIVersion} }{LMS_url})
: $ce->{LTI}{ $ce->{LTIVersion} }{LMS_name};
return $c->maketext(
return $c->b($c->maketext(
'You must use your Learning Management System ([_1]) to access this set. '
. 'Try logging in to the Learning Management System and visiting the set from there.',
$LMS
) unless $set->lis_source_did;
))
unless $set->lis_source_did;
}

return 0;
Expand Down

0 comments on commit 4a0953f

Please sign in to comment.