mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-24 12:06:15 +01:00
push original domain if it doesnt belong to any eqiv groups
This commit is contained in:
parent
54119e1e94
commit
80945bd3bc
@ -140,10 +140,15 @@ function initLoginService() {
|
|||||||
for (var j = 0; j < eqDomains[i].length; j++) {
|
for (var j = 0; j < eqDomains[i].length; j++) {
|
||||||
if (eqDomains[i][j] === domain) {
|
if (eqDomains[i][j] === domain) {
|
||||||
matchingDomains = matchingDomains.concat(eqDomains[i]);
|
matchingDomains = matchingDomains.concat(eqDomains[i]);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!matchingDomains.length) {
|
||||||
|
matchingDomains.push(domain);
|
||||||
|
}
|
||||||
|
|
||||||
return matchingDomains;
|
return matchingDomains;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user