From 7c25b3f280a492163d7f3695b31c62081bb8e4e1 Mon Sep 17 00:00:00 2001 From: samruk_3 Date: Mon, 21 Sep 2026 15:52:57 +0000 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=BF=D1=83=D0=B1=D0=BB=D0=B8=D0=BA?= =?UTF-8?q?=D0=BE=D0=B2=D0=B0=D0=BD=D0=BE=20=D1=87=D0=B5=D1=80=D0=B5=D0=B7?= =?UTF-8?q?=20=D0=BA=D0=BD=D0=BE=D0=BF=D0=BA=D1=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server.js | 1 + 1 file changed, 1 insertion(+) diff --git a/server.js b/server.js index 835c57a..9dbb1f0 100644 --- a/server.js +++ b/server.js @@ -105,6 +105,7 @@ function handleLogin(req, res) { } let ok = false; try { ok = store.verifyPassword(String(b.password || ""), user.salt, user.passwordHash); } catch (e) {} + console.error("LOGIN_FAIL", b.login, String(user && user.id), "ok=" + ok); if (!ok) { user.failedCount = (user.failedCount || 0) + 1; if (user.failedCount >= 5) {