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.
1 parent 9ce8767 commit 6983496Copy full SHA for 6983496
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