1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 12:45:55 +00:00

api: remove base64 encoded passwords (wtf), log all authentication failures in userhelper

This commit is contained in:
Andrew Dolgov
2021-02-25 15:39:46 +03:00
parent efd196839a
commit 59c14e9c00
4 changed files with 6 additions and 10 deletions

View File

@@ -395,8 +395,6 @@ class Handler_Public extends Handler {
if (!isset($_SESSION["login_error_msg"]))
$_SESSION["login_error_msg"] = __("Incorrect username or password");
user_error("Failed login attempt for $login from " . UserHelper::get_user_ip(), E_USER_WARNING);
}
$return = clean($_REQUEST['return']);