From: moodler Date: Thu, 13 Apr 2006 09:00:05 +0000 (+0000) Subject: Don't prefill username in shibboleth bug 5184 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=1925b16db8ed6da350484cc54ae91b3a56b44b96;p=moodle.git Don't prefill username in shibboleth bug 5184 --- diff --git a/login/index.php b/login/index.php index da5b8c0443..d287cf2e79 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 = ""; }