From a50d860ef1994ed22fa1173573e8e28204cf5dca Mon Sep 17 00:00:00 2001 From: exe-cutor Date: Mon, 29 Aug 2005 15:42:26 +0000 Subject: [PATCH] Fixed a small bug that prevented guest users from log in See: http://moodle.org/bugs/bug.php?op=show&bugid=3989 Thx to pasi.hakkinen@tut.fi --- auth/shibboleth/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth/shibboleth/index.php b/auth/shibboleth/index.php index d73c00ed964..ef2cca021e9 100644 --- a/auth/shibboleth/index.php +++ b/auth/shibboleth/index.php @@ -4,7 +4,7 @@ require('../../config.php'); require('lib.php'); - if (isloggedin()) { // Nothing to do + if (isloggedin() && $USER->username != 'guest') { // Nothing to do redirect($CFG->wwwroot.'/index.php'); }