1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 05:25:56 +00:00

Report failed login attemps using user_error

This commit is contained in:
guillaume-uH57J9
2013-07-06 15:34:42 +02:00
parent 4b7ebe93a8
commit c4cab4ecf4

View File

@@ -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']) {