Skip to content

Commit de0407a

Browse files
authored
Merge pull request #2811 from dlglin/fixignoreMissingSourcedID
Fix checkSet to honour the ignoreMissingSourcedID setting
2 parents 983cfa7 + bc35c58 commit de0407a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/WeBWorK/Authz.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ sub checkSet {
490490
. 'Try logging in to the Learning Management System and visiting the set from there.',
491491
$LMS
492492
))
493-
unless $set->lis_source_did;
493+
unless $set->lis_source_did || ($ce->{LTIVersion} eq 'v1p3' && $ce->{LTI}{v1p3}{ignoreMissingSourcedID});
494494
}
495495

496496
return 0;

0 commit comments

Comments
 (0)