mention username in login failed syslog message

This commit is contained in:
Andrew Dolgov 2014-01-19 15:16:14 +04:00
parent ab85ad89b3
commit fd94d63122
1 changed files with 1 additions and 1 deletions

View File

@ -575,7 +575,7 @@ class Handler_Public extends Handler {
}
} else {
$_SESSION["login_error_msg"] = __("Incorrect username or password");
user_error("Failed login attempt from {$_SERVER['REMOTE_ADDR']}", E_USER_WARNING);
user_error("Failed login attempt for $login from {$_SERVER['REMOTE_ADDR']}", E_USER_WARNING);
}
if ($_REQUEST['return']) {