summaryrefslogtreecommitdiff
path: root/classes/handler/public.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-25 15:39:46 +0300
committerAndrew Dolgov <[email protected]>2021-02-25 15:39:46 +0300
commit59c14e9c0001bc7a01763ecc7d3042dcde978a1a (patch)
tree0b50328be7b8374308fc130cb5440edd9f03c5c2 /classes/handler/public.php
parentefd196839a20ae7e38be227c62b9c134ddec4bea (diff)
api: remove base64 encoded passwords (wtf), log all authentication failures in userhelper
Diffstat (limited to 'classes/handler/public.php')
-rwxr-xr-xclasses/handler/public.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/classes/handler/public.php b/classes/handler/public.php
index bf0160db6..6ab9d7285 100755
--- a/classes/handler/public.php
+++ b/classes/handler/public.php
@@ -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']);