1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 09:13:33 +00:00

support for cipher login uris and match detection

This commit is contained in:
Kyle Spearrin
2018-03-02 12:04:21 -05:00
parent ced108d1a6
commit c27f5836bf
6 changed files with 13 additions and 29 deletions

View File

@@ -216,12 +216,7 @@ export default class AutofillService implements AutofillServiceInterface {
return;
}
const tabDomain = this.platformUtilsService.getDomain(tab.url);
if (tabDomain == null) {
return;
}
const lastUsedCipher = await this.cipherService.getLastUsedForDomain(tabDomain);
const lastUsedCipher = await this.cipherService.getLastUsedForUrl(tab.url);
if (!lastUsedCipher) {
return;
}