diff --git a/login/index.php b/login/index.php index da5b8c0443d..d287cf2e79c 100644 --- a/login/index.php +++ b/login/index.php @@ -237,7 +237,7 @@ set_moodle_cookie('nobody'); // To help search for cookies } - if (empty($frm->username)) { + if (empty($frm->username) && $CFG->auth != 'shibboleth') { // See bug 5184 $frm->username = get_moodle_cookie() === 'nobody' ? '' : get_moodle_cookie(); $frm->password = ""; }