1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 01:25:56 +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

@@ -46,6 +46,9 @@ class UserHelper {
return true;
}
if (!$user_id)
Logger::get()->log(E_USER_WARNING, "Failed login attempt for $login (service: $service) from " . UserHelper::get_user_ip());
return false;
} else {