Remove some old test logs that expose info to console

This commit is contained in:
TheArcaneBrony
2022-08-08 23:23:04 +02:00
parent 5bddb3a758
commit 2dc1046b3e
2 changed files with 0 additions and 3 deletions
-1
View File
@@ -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();
-2
View File
@@ -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) });
});