diff --git a/auth/shibboleth/index.php b/auth/shibboleth/index.php index 525675084db..f521442aade 100644 --- a/auth/shibboleth/index.php +++ b/auth/shibboleth/index.php @@ -4,7 +4,9 @@ require('../../config.php'); + $context = context_system::instance(); $PAGE->set_url('/auth/shibboleth/index.php'); + $PAGE->set_context($context); // Support for WAYFless URLs. $target = optional_param('target', '', PARAM_LOCALURL);