From 16bac723c06a7ba9856ffca5846324373bc23918 Mon Sep 17 00:00:00 2001 From: moodler Date: Thu, 2 Mar 2006 01:09:56 +0000 Subject: [PATCH] Removed the shibboleth code (there is a new way now) http://moodle.org/mod/forum/discuss.php?d=39918#187611 --- login/index.php | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/login/index.php b/login/index.php index 1bbbd9977ba..55cffbe481d 100644 --- a/login/index.php +++ b/login/index.php @@ -39,13 +39,14 @@ require($CFG->dirroot.'/auth/cas/login.php'); } - if ($CFG->auth == 'shibboleth') { - if (!empty($SESSION->shibboleth_checked) ) { // Just come from there - unset($SESSION->shibboleth_checked); - } else if (empty($_POST)) { // No incoming data, so redirect - redirect($CFG->wwwroot.'/auth/shibboleth/index.php'); - } - } +// See http://moodle.org/mod/forum/discuss.php?d=39918#187611 +// if ($CFG->auth == 'shibboleth') { +// if (!empty($SESSION->shibboleth_checked) ) { // Just come from there +// unset($SESSION->shibboleth_checked); +// } else if (empty($_POST)) { // No incoming data, so redirect +// redirect($CFG->wwwroot.'/auth/shibboleth/index.php'); +// } +// }