From: guillaume-uH57J9 Date: Sat, 6 Jul 2013 13:34:42 +0000 (+0200) Subject: Report failed login attemps using user_error X-Git-Tag: 1.9~72^2^2 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=c4cab4ecf476d3db6e62126541abb5f318ff2188;p=tt-rss.git Report failed login attemps using user_error --- diff --git a/classes/handler/public.php b/classes/handler/public.php index 205853ea..f67c4fb9 100644 --- a/classes/handler/public.php +++ b/classes/handler/public.php @@ -545,6 +545,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); } if ($_REQUEST['return']) {