summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2022-08-08 23:23:04 +0200
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-12-18 22:26:06 +1100
commit974cae03323b9ff04c5c5dc5e77e1f1c6d31cca7 (patch)
tree892e6b3a92f7d444dfe431177956629c4a2cb259 /src
parentRemove todo line that has been implemented. (diff)
downloadserver-974cae03323b9ff04c5c5dc5e77e1f1c6d31cca7.tar.xz
Remove some old test logs that expose info to console
Diffstat (limited to 'src')
-rw-r--r--src/api/routes/auth/login.ts1
-rw-r--r--src/api/routes/auth/register.ts2
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) }); }, );