mirror of
https://github.com/bitwarden/browser
synced 2025-12-14 15:23:33 +00:00
removed an uneeded line of code
This commit is contained in:
@@ -231,7 +231,6 @@ export default class AutofillService implements AutofillServiceInterface {
|
|||||||
if (fromCommand) {
|
if (fromCommand) {
|
||||||
cipher = await this.cipherService.getNextCipherForUrl(tab.url);
|
cipher = await this.cipherService.getNextCipherForUrl(tab.url);
|
||||||
} else {
|
} else {
|
||||||
cipher = await this.cipherService.getLastUsedForUrl(tab.url);
|
|
||||||
const lastLaunchedCipher = await this.cipherService.getLastLaunchedForUrl(tab.url);
|
const lastLaunchedCipher = await this.cipherService.getLastLaunchedForUrl(tab.url);
|
||||||
if (lastLaunchedCipher && Date.now().valueOf() - lastLaunchedCipher.localData?.lastLaunched?.valueOf() < 30000) {
|
if (lastLaunchedCipher && Date.now().valueOf() - lastLaunchedCipher.localData?.lastLaunched?.valueOf() < 30000) {
|
||||||
cipher = lastLaunchedCipher;
|
cipher = lastLaunchedCipher;
|
||||||
|
|||||||
Reference in New Issue
Block a user