mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 12:45:04 +01:00
Use real tabs in the error_log call because \t doesn't seem to work
This commit is contained in:
parent
de6fa62a56
commit
7d56fe1077
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user