ignoring domain

This commit is contained in:
Miodec 2022-09-20 15:58:43 +02:00
parent 2447cfc616
commit 4db07975ff

View file

@ -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");
}