mod/scormremote/error.php sets the HTTP status with a corresponding message, for example, 402 | Subscription limit reached. But error.php has require_login() at the top (line 30) so the student never sees the error, just the login page of the Moodle site hosting the SCORM.
If I remove the require_login() students see any error messages (401, 402, etc.) as expected.
mod/scormremote/error.php
sets the HTTP status with a corresponding message, for example, 402 | Subscription limit reached. Buterror.php
hasrequire_login()
at the top (line 30) so the student never sees the error, just the login page of the Moodle site hosting the SCORM.If I remove the
require_login()
students see any error messages (401, 402, etc.) as expected.