MDL-45118 shibboleth: set context on index page

This commit is contained in:
Matt Petro 2014-04-15 23:11:32 -04:00
parent 11310954ea
commit 5f1b2e8821

View File

@ -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);