mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-23 00:29:22 +09:00
fix
This commit is contained in:
parent
9775ac3b21
commit
b6331402da
@ -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 New Issue
Block a user