]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-9399 - auth/shibboleth: ensure we load enrolments
authormartinlanghoff <martinlanghoff>
Wed, 14 Nov 2007 22:06:17 +0000 (22:06 +0000)
committermartinlanghoff <martinlanghoff>
Wed, 14 Nov 2007 22:06:17 +0000 (22:06 +0000)
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...

auth/shibboleth/index.php

index 347e6a822cac8b0c12bd211a43b57d72505e5334..e01489458ccf0c886dcc4165eebb7d761bc6e12d 100644 (file)
@@ -72,6 +72,7 @@
                 }
             }
 
+            check_enrolment_plugins($USER);
             load_all_capabilities();     /// This is what lets the user do anything on the site  :-)
 
             redirect($urltogo);