MDL-57742 core_lib: Make tool_consumer_instance_guid optional
In the specification, tool_consumer_instance_guid is only listed as recommended. However, the library was requiring it. https://www.imsglobal.org/specs/ltiv2p0/implementation-guide#toc-42
This commit is contained in:
committed by
David Monllao
parent
bf6f0f03cf
commit
f93f81a9f6
@@ -808,11 +808,6 @@ EOD;
|
||||
if (!$this->ok) {
|
||||
$this->reason = 'Request is from an invalid tool consumer.';
|
||||
}
|
||||
} else {
|
||||
$this->ok = isset($_POST['tool_consumer_instance_guid']);
|
||||
if (!$this->ok) {
|
||||
$this->reason = 'A tool consumer GUID must be included in the launch request.';
|
||||
}
|
||||
}
|
||||
}
|
||||
if ($this->ok) {
|
||||
|
||||
Reference in New Issue
Block a user