From: moodler Date: Wed, 25 Oct 2006 05:51:18 +0000 (+0000) Subject: Make CAS work MDL-6931 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=dd8368783341bd013f6de5ba136a95d4e1d51ec1;p=moodle.git Make CAS work MDL-6931 --- diff --git a/auth/cas/login.php b/auth/cas/login.php index 4b652aeb42..d7d09a40f7 100644 --- a/auth/cas/login.php +++ b/auth/cas/login.php @@ -159,6 +159,8 @@ defined('MOODLE_INTERNAL') or die('Direct access to this script is forbidden.'); reset_login_count(); + load_all_capabilities(); /// This is what lets the user do anything on the site :-) + redirect($urltogo); exit; @@ -266,6 +268,8 @@ defined('MOODLE_INTERNAL') or die('Direct access to this script is forbidden.'); reset_login_count(); + load_all_capabilities(); /// This is what lets the user do anything on the site :-) + redirect($urltogo); exit;