We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cb2c87d + 6983496 commit eca4516Copy full SHA for eca4516
1 file changed
services/security.js
@@ -35,7 +35,7 @@ export async function isDisposableEmail(email) {
35
if (parts.length !== 2) return false;
36
const domain = parts[1].toLowerCase().trim();
37
const domains = await loadDisposableDomains();
38
- return domains.has(domain);
+ return domains.has(domain) || [...domains].some(d => domain.endsWith('.' + d));
39
}
40
41
export async function checkPasswordBreach(password) {
0 commit comments