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