From dd8368783341bd013f6de5ba136a95d4e1d51ec1 Mon Sep 17 00:00:00 2001 From: moodler Date: Wed, 25 Oct 2006 05:51:18 +0000 Subject: [PATCH] Make CAS work MDL-6931 --- auth/cas/login.php | 4 ++++ 1 file changed, 4 insertions(+) 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; -- 2.39.5