From c05c0d88a18300c6807d2d98865e270b01ec0537 Mon Sep 17 00:00:00 2001 From: notmd Date: Mon, 30 Jan 2023 02:00:45 +0700 Subject: [PATCH] remove debug code --- website/src/pages/api/auth/[...nextauth].ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/src/pages/api/auth/[...nextauth].ts b/website/src/pages/api/auth/[...nextauth].ts index aadb7e0f..bc876182 100644 --- a/website/src/pages/api/auth/[...nextauth].ts +++ b/website/src/pages/api/auth/[...nextauth].ts @@ -171,7 +171,7 @@ export default function auth(req: NextApiRequest, res: NextApiResponse) { const ip = typeof forwarded === "string" ? forwarded.split(/, /)[0] : req.socket.remoteAddress; const res = await checkCaptcha(captcha, ip); - console.log(res); + if (res.success) { return true; }