mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-02-07 22:01:33 +00:00
Merge pull request #251 from guillaume-uH57J9/master
Log failed login attemps, related to Feature #432 (try 2)
This commit is contained in:
@@ -545,6 +545,7 @@ class Handler_Public extends Handler {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$_SESSION["login_error_msg"] = __("Incorrect username or password");
|
$_SESSION["login_error_msg"] = __("Incorrect username or password");
|
||||||
|
user_error("Failed login attempt from {$_SERVER['REMOTE_ADDR']}", E_USER_WARNING);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($_REQUEST['return']) {
|
if ($_REQUEST['return']) {
|
||||||
|
|||||||
Reference in New Issue
Block a user