1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-11-04 08:50:19 +01: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;
});