From fd94d63122b8919ddf6b146ebe9ef01dde655acd Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 19 Jan 2014 15:16:14 +0400 Subject: [PATCH] mention username in login failed syslog message --- classes/handler/public.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/handler/public.php b/classes/handler/public.php index 037e6bf0..31376ff6 100644 --- a/classes/handler/public.php +++ b/classes/handler/public.php @@ -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']) { -- 2.39.5