diff --git a/classes/handler/public.php b/classes/handler/public.php index 205853eae..f67c4fb9a 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']) {