From 6257201c65e5b208beaefffba4b9c3338be2dfc5 Mon Sep 17 00:00:00 2001 From: Avris Date: Sat, 7 Aug 2021 11:45:14 +0200 Subject: [PATCH] =?UTF-8?q?[pl]=20jeba=C4=87=20narodowc=C3=B3w?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/routes/user.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/server/routes/user.js b/server/routes/user.js index 4bcd3778..a9d3f139 100644 --- a/server/routes/user.js +++ b/server/routes/user.js @@ -199,10 +199,6 @@ router.post('/user/init', handleErrorAsync(async (req, res) => { return; } - if (!await validateCaptcha(req.body.captchaToken)) { - return res.json({error: 'user.login.captchaInvalid'}); - } - let user = undefined; let usernameOrEmail = req.body.usernameOrEmail;