From 38fe1217fe2915f4f4b96e5aed9addd4a218e0ec Mon Sep 17 00:00:00 2001 From: Eric Rasmussen <erasmussen2@unl.edu> Date: Fri, 30 Apr 2010 17:13:33 +0000 Subject: [PATCH] the CAS auto login is redirecting in a loop for unregistered users - disable for now --- plugins/unl_theme/start.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/unl_theme/start.php b/plugins/unl_theme/start.php index 1b869e19..4f45d224 100644 --- a/plugins/unl_theme/start.php +++ b/plugins/unl_theme/start.php @@ -4,11 +4,11 @@ function unl_theme_init(){ //If user is signed into UNL SSO but not planet red and they visit planet red - try logging them in - if ($_COOKIE['unl_sso'] && !isloggedin() && get_input('action') != 'login') { +/* if ($_COOKIE['unl_sso'] && !isloggedin() && get_input('action') != 'login') { $ts = time(); $token = generate_action_token($ts); forward($CONFIG->url.'action/login?usecas=yes&email='.$email.'&__elgg_ts='.$ts.'&__elgg_token='.$token.'&view='.$view); - } + } */ } // Initialise log browser -- GitLab