]> git.wh0rd.org Git - tt-rss.git/commitdiff
mention username in login failed syslog message
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sun, 19 Jan 2014 11:16:14 +0000 (15:16 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sun, 19 Jan 2014 11:16:14 +0000 (15:16 +0400)
classes/handler/public.php

index 037e6bf0f46cc767abc845c2425fba3da4eefe26..31376ff60333e967cbc77ceb7eb33f0f445f9cc8 100644 (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']) {