mirror of
https://github.com/spacebarchat/server.git
synced 2024-09-20 09:41:35 +02:00
Remove some old test logs that expose info to console
This commit is contained in:
parent
9a094da14d
commit
46c072333b
@ -21,7 +21,6 @@ router.post(
|
|||||||
const { login, password, captcha_key, undelete } =
|
const { login, password, captcha_key, undelete } =
|
||||||
req.body as LoginSchema;
|
req.body as LoginSchema;
|
||||||
const email = adjustEmail(login);
|
const email = adjustEmail(login);
|
||||||
console.log("login", email);
|
|
||||||
|
|
||||||
const config = Config.get();
|
const config = Config.get();
|
||||||
|
|
||||||
|
@ -205,8 +205,6 @@ router.post(
|
|||||||
await Invite.joinGuild(user.id, body.invite);
|
await Invite.joinGuild(user.id, body.invite);
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log("register", body.email, body.username, ip);
|
|
||||||
|
|
||||||
return res.json({ token: await generateToken(user.id) });
|
return res.json({ token: await generateToken(user.id) });
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user