mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00: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 });
|
||||
}
|
||||
// filter out alias emails
|
||||
if (name.includes('+') || name.includes('.')) {
|
||||
if (name.includes('+')) {
|
||||
throw new InvalidEmail({ email });
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user