mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-26 19:10:18 +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;
|
available: boolean;
|
||||||
reason: null | 'used' | 'format' | 'disposable' | 'mx' | 'smtp' | 'banned' | 'network' | 'blacklist' | 'allowedOnly';
|
reason: null | 'used' | 'format' | 'disposable' | 'mx' | 'smtp' | 'banned' | 'network' | 'blacklist' | 'allowedOnly';
|
||||||
}> {
|
}> {
|
||||||
if (this.utilityService.validateEmailFormat(emailAddress)) {
|
if (!this.utilityService.validateEmailFormat(emailAddress)) {
|
||||||
return {
|
return {
|
||||||
available: false,
|
available: false,
|
||||||
reason: 'format',
|
reason: 'format',
|
||||||
|
|
Loading…
Reference in a new issue