MDL-45118 shibboleth: set context on index page

This commit is contained in:
Matt Petro
2014-04-22 09:17:19 +12:00
committed by Sam Hemelryk
parent fd266e48bc
commit 067d7ee92d
+2
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);