1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 07:43:35 +00:00

[PS-1202] Also update the decrypted history (#3205)

This commit is contained in:
Justin Baur
2022-07-29 09:47:30 -04:00
committed by GitHub
parent 3f758cdb9a
commit a46510bab4

View File

@@ -380,6 +380,7 @@ export class PasswordGenerationService implements PasswordGenerationServiceAbstr
}
const newHistory = await this.encryptHistory(currentHistory);
await this.stateService.setDecryptedPasswordGenerationHistory(currentHistory);
return await this.stateService.setEncryptedPasswordGenerationHistory(newHistory);
}