From 08f404affc5ff79162552c87202692f43968c93d Mon Sep 17 00:00:00 2001 From: kalugin66 Date: Tue, 1 Sep 2026 11:25:56 +0500 Subject: [PATCH] docker --- lib/requests.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/requests.js b/lib/requests.js index 21d6648..70bcce8 100644 --- a/lib/requests.js +++ b/lib/requests.js @@ -116,10 +116,7 @@ function validatePassword(password) { } function issueCode(email) { - let record = findByEmail(email); - if (record && record.phase !== 'verifying') { - record = null; - } + let record = findVerifyingByEmail(email); if (!record) { record = { id: crypto.randomBytes(8).toString('hex'),