Use real tabs in the error_log call because \t doesn't seem to work

This commit is contained in:
moodler 2005-03-10 05:05:12 +00:00
parent de6fa62a56
commit 7d56fe1077

View File

@ -2191,7 +2191,7 @@ function authenticate_user_login($username, $password) {
} else {
add_to_log(0, 'login', 'error', $_SERVER['HTTP_REFERER'], $username);
error_log('[client '.$_SERVER['REMOTE_ADDR']."]\t$CFG->wwwroot\tFailed Login:\t$username\t".$_SERVER['HTTP_USER_AGENT']);
error_log('[client '.$_SERVER['REMOTE_ADDR']."] $CFG->wwwroot Failed Login: $username ".$_SERVER['HTTP_USER_AGENT']);
return false;
}
}