1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-08-07 20:03:16 +02: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;
});