Skip to content

Commit

Permalink
MDL-74481 mod_lti: fix role lookup for LTI 1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
claudevervoort committed Apr 13, 2022
1 parent f62cd44 commit 696eace
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mod/lti/auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@
require_login($course, true, $cm);
require_capability('mod/lti:view', $context);
$lti = $DB->get_record('lti', array('id' => $cm->instance), '*', MUST_EXIST);
$lti->cmid = $cm->id;
list($endpoint, $params) = lti_get_launch_data($lti, $nonce);
} else {
require_login($course);
Expand Down

0 comments on commit 696eace

Please sign in to comment.