mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-05 03:19:52 +08:00
fix(server): allow email with dot in name
This commit is contained in:
@@ -186,7 +186,7 @@ export class AuthController {
|
|||||||
throw new InvalidEmail({ email });
|
throw new InvalidEmail({ email });
|
||||||
}
|
}
|
||||||
// filter out alias emails
|
// filter out alias emails
|
||||||
if (name.includes('+') || name.includes('.')) {
|
if (name.includes('+')) {
|
||||||
throw new InvalidEmail({ email });
|
throw new InvalidEmail({ email });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user