Merge pull request #251 from guillaume-uH57J9/master

Log failed login attemps, related to Feature #432 (try 2)
This commit is contained in:
Andrew Dolgov 2013-07-06 06:44:58 -07:00
commit e4eec1d216
1 changed files with 1 additions and 0 deletions

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