From: martinlanghoff Date: Wed, 14 Nov 2007 22:06:17 +0000 (+0000) Subject: MDL-9399 - auth/shibboleth: ensure we load enrolments X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=cfab8f39465d251291b547931411d3fa448f18f5;p=moodle.git MDL-9399 - auth/shibboleth: ensure we load enrolments Most of this code should be replaced with complete_user_login() but it does a few odd things, so we'll play it safe for now, specially since I don't have a Shib setup to test... --- diff --git a/auth/shibboleth/index.php b/auth/shibboleth/index.php index 347e6a822c..e01489458c 100644 --- a/auth/shibboleth/index.php +++ b/auth/shibboleth/index.php @@ -72,6 +72,7 @@ } } + check_enrolment_plugins($USER); load_all_capabilities(); /// This is what lets the user do anything on the site :-) redirect($urltogo);