1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-13 06:43:35 +00:00

push original domain if it doesnt belong to any eqiv groups

This commit is contained in:
Kyle Spearrin
2017-01-14 17:58:22 -05:00
parent 54119e1e94
commit 80945bd3bc

View File

@@ -140,10 +140,15 @@ function initLoginService() {
for (var j = 0; j < eqDomains[i].length; j++) {
if (eqDomains[i][j] === domain) {
matchingDomains = matchingDomains.concat(eqDomains[i]);
break;
}
}
}
if (!matchingDomains.length) {
matchingDomains.push(domain);
}
return matchingDomains;
});