mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-26 06:10:20 +01:00
fix
This commit is contained in:
parent
9775ac3b21
commit
b6331402da
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ export class EmailService {
|
|||
available: boolean;
|
||||
reason: null | 'used' | 'format' | 'disposable' | 'mx' | 'smtp' | 'banned' | 'network' | 'blacklist' | 'allowedOnly';
|
||||
}> {
|
||||
if (this.utilityService.validateEmailFormat(emailAddress)) {
|
||||
if (!this.utilityService.validateEmailFormat(emailAddress)) {
|
||||
return {
|
||||
available: false,
|
||||
reason: 'format',
|
||||
|
|
Loading…
Reference in a new issue