Skip to content

Commit

Permalink
Merge pull request #2183 from drgrice1/bugfix/lti_v1p3_incorrect_sett…
Browse files Browse the repository at this point in the history
…ing_usage

Correct the version number for the modify_user method called in LTIAdvantage.pm.
  • Loading branch information
Alex-Jordan authored Aug 17, 2023
2 parents 00818c9 + 1b5b96d commit 07dd8fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/WeBWorK/Authen/LTIAdvantage.pm
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,7 @@ sub maybe_update_user ($self) {
$tempUser->student_id($self->{student_id} // '');

# Allow sites to customize the temp user
$ce->{LTI}{v1p1}{modify_user}($self, $tempUser) if ref($ce->{LTI}{v1p1}{modify_user}) eq 'CODE';
$ce->{LTI}{v1p3}{modify_user}($self, $tempUser) if ref($ce->{LTI}{v1p3}{modify_user}) eq 'CODE';

my $change_made = 0;
for my $element (qw(last_name first_name email_address status section recitation student_id)) {
Expand Down

0 comments on commit 07dd8fd

Please sign in to comment.