fix(server): allow email with dot in name

This commit is contained in:
forehalo
2024-12-13 10:53:49 +08:00
parent ef6068b7c2
commit d620a525cc

View File

@@ -186,7 +186,7 @@ export class AuthController {
throw new InvalidEmail({ email });
}
// filter out alias emails
if (name.includes('+') || name.includes('.')) {
if (name.includes('+')) {
throw new InvalidEmail({ email });
}
}