Skip to content
Browse files

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
  • Loading branch information...
1 parent ac31098 commit a50d860ef1994ed22fa1173573e8e28204cf5dca exe-cutor committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 auth/shibboleth/index.php
View
2 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');
}

0 comments on commit a50d860

Please sign in to comment.
Something went wrong with that request. Please try again.