mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 13:05:32 +09:00
fix(api): reject a mail-less email domain by its own code (#2608)
This commit is contained in:
1 parent
8cc485cf81
commit
c577b97f35
12 files changed
+302
-23
No files matched your search
+1
@@ -83,6 +83,7 @@ const EMAIL_VALIDATION_CODES = new Set<string>([
|
||||
ValidationErrorCodes.INVALID_EMAIL_FORMAT,
|
||||
ValidationErrorCodes.INVALID_EMAIL_LOCAL_PART,
|
||||
ValidationErrorCodes.INVALID_EMAIL_ADDRESS,
|
||||
ValidationErrorCodes.EMAIL_DOMAIN_CANNOT_RECEIVE_MAIL,
|
||||
]);
|
||||
const CODE_SESSION_VALIDATION_CODES = new Set<string>([
|
||||
ValidationErrorCodes.EMAIL_TOKEN_EXPIRED,
|
||||
|
||||
Reference in new issue
Block a user