Don't prefill username in shibboleth bug 5184

This commit is contained in:
moodler
2006-04-13 09:00:05 +00:00
parent d95f4c3fef
commit 1925b16db8
+1 -1
View File
@@ -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 = "";
}