summary refs log tree commit diff
path: root/api/src
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2022-08-08 23:23:04 +0200
committerTheArcaneBrony <myrainbowdash949@gmail.com>2022-08-09 23:28:27 +0200
commit2dc1046b3eb8a42ad9552808d7811834fddeb188 (patch)
treee6c3fab909be26609c4614e0b1186ef57157d4f2 /api/src
parentFix missing import in refactor (diff)
downloadserver-2dc1046b3eb8a42ad9552808d7811834fddeb188.tar.xz
Remove some old test logs that expose info to console
Diffstat (limited to 'api/src')
-rw-r--r--api/src/routes/auth/login.ts1
-rw-r--r--api/src/routes/auth/register.ts2
2 files changed, 0 insertions, 3 deletions
diff --git a/api/src/routes/auth/login.ts b/api/src/routes/auth/login.ts

index 5df9e252..daef6056 100644 --- a/api/src/routes/auth/login.ts +++ b/api/src/routes/auth/login.ts
@@ -19,7 +19,6 @@ export interface LoginSchema { router.post("/", route({ body: "LoginSchema" }), async (req: Request, res: Response) => { 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/api/src/routes/auth/register.ts b/api/src/routes/auth/register.ts
index 2902c8dd..2baef98e 100644 --- a/api/src/routes/auth/register.ts +++ b/api/src/routes/auth/register.ts
@@ -166,8 +166,6 @@ router.post("/", route({ body: "RegisterSchema" }), async (req: Request, res: Re await Invite.joinGuild(user.id, body.invite); } - console.log("register", body.email, body.username, ip); - return res.json({ token: await generateToken(user.id) }); });