From 46c072333bc8d3a34637ea1d0cb254262c399591 Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Mon, 8 Aug 2022 23:23:04 +0200 Subject: [PATCH] Remove some old test logs that expose info to console --- src/api/routes/auth/login.ts | 1 - src/api/routes/auth/register.ts | 2 -- 2 files changed, 3 deletions(-) diff --git a/src/api/routes/auth/login.ts b/src/api/routes/auth/login.ts index 9ea2606c..bbfb5425 100644 --- a/src/api/routes/auth/login.ts +++ b/src/api/routes/auth/login.ts @@ -21,7 +21,6 @@ router.post( const { login, password, captcha_key, undelete } = req.body as LoginSchema; const email = adjustEmail(login); - console.log("login", email); const config = Config.get(); diff --git a/src/api/routes/auth/register.ts b/src/api/routes/auth/register.ts index 3479c4a0..370d7c52 100644 --- a/src/api/routes/auth/register.ts +++ b/src/api/routes/auth/register.ts @@ -205,8 +205,6 @@ router.post( await Invite.joinGuild(user.id, body.invite); } - console.log("register", body.email, body.username, ip); - return res.json({ token: await generateToken(user.id) }); }, );