diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2022-08-08 23:23:04 +0200 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-12-18 22:26:06 +1100 |
commit | 974cae03323b9ff04c5c5dc5e77e1f1c6d31cca7 (patch) | |
tree | 892e6b3a92f7d444dfe431177956629c4a2cb259 | |
parent | Remove todo line that has been implemented. (diff) | |
download | server-974cae03323b9ff04c5c5dc5e77e1f1c6d31cca7.tar.xz |
Remove some old test logs that expose info to console
-rw-r--r-- | src/api/routes/auth/login.ts | 1 | ||||
-rw-r--r-- | src/api/routes/auth/register.ts | 2 |
2 files changed, 0 insertions, 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) }); }, ); |