From 5f1b2e882181cb1a828c8b4af9ccca67577ebfaa Mon Sep 17 00:00:00 2001 From: Matt Petro Date: Tue, 15 Apr 2014 23:11:32 -0400 Subject: [PATCH] MDL-45118 shibboleth: set context on index page --- auth/shibboleth/index.php | 2 ++ 1 file changed, 2 insertions(+) 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);