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'); }