From 974cae03323b9ff04c5c5dc5e77e1f1c6d31cca7 Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Mon, 8 Aug 2022 23:23:04 +0200 Subject: 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(-) (limited to 'src') 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) }); }, ); -- cgit 1.4.1