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 | 46c072333bc8d3a34637ea1d0cb254262c399591 (patch) | |
tree | 33787e706b5c3514daffe130813f60bc32e60082 | |
parent | Remove todo line that has been implemented. (diff) | |
download | server-46c072333bc8d3a34637ea1d0cb254262c399591.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) }); }, ); |