From: Andrew Dolgov Date: Sun, 19 Jan 2014 11:16:14 +0000 (+0400) Subject: mention username in login failed syslog message X-Git-Tag: 1.12~118 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=fd94d63122b8919ddf6b146ebe9ef01dde655acd;p=tt-rss.git mention username in login failed syslog message --- 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']) {