From 5128f0b3fa65a977d6ca3f7d20be8edea1734a5e Mon Sep 17 00:00:00 2001 From: jgutierr25 Date: Fri, 31 Aug 2007 09:49:15 +0000 Subject: [PATCH] problem with autologinguest --- auth/cas/auth.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/auth/cas/auth.php b/auth/cas/auth.php index 2f89de748b..846e976b22 100644 --- a/auth/cas/auth.php +++ b/auth/cas/auth.php @@ -97,6 +97,12 @@ class auth_plugin_cas extends auth_plugin_base { return; } + if ($_GET["loginguest"]== true) { + $frm->username="guest"; + $frm->password="guest"; + return; + } + // Test si cas activ� et param�tres non remplis if (empty($this->config->hostname)) { return; -- 2.39.5