mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-09-20 15:26:15 +08:00
ignoring domain
This commit is contained in:
parent
2447cfc616
commit
4db07975ff
|
@ -18,7 +18,7 @@ export async function createNewUser(
|
|||
const { name } = req.body;
|
||||
const { email, uid } = req.ctx.decodedToken;
|
||||
|
||||
if (email.endsWith("@tidal.lol")) {
|
||||
if (email.endsWith("@tidal.lol") || email.endsWith("@selfbot.cc")) {
|
||||
throw new MonkeyError(400, "Invalid domain");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue