mirror of
https://github.com/hotomoe/hotomoe
synced 2024-12-12 21:58:12 +09:00
ドメイン単位にしたことにより捨てアドチェックが壊れていた問題を修正 (MisskeyIO#429)
This commit is contained in:
parent
e7d4806714
commit
c4fe44152b
@ -292,18 +292,6 @@ export class EmailService {
|
|||||||
reason: null,
|
reason: null,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
if (json.email_address === undefined) {
|
|
||||||
return {
|
|
||||||
valid: false,
|
|
||||||
reason: 'format',
|
|
||||||
};
|
|
||||||
}
|
|
||||||
if (json.deliverable_email !== undefined && !json.deliverable_email) {
|
|
||||||
return {
|
|
||||||
valid: false,
|
|
||||||
reason: 'smtp',
|
|
||||||
};
|
|
||||||
}
|
|
||||||
if (json.disposable) {
|
if (json.disposable) {
|
||||||
return {
|
return {
|
||||||
valid: false,
|
valid: false,
|
||||||
|
Loading…
Reference in New Issue
Block a user