1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 08:43:33 +00:00

clean up the old pin keys in more flows

- in the case that the app is updated while logged in and the user changes their pin, this will clear the old pin keys
This commit is contained in:
Jacob Fink
2023-06-08 12:25:43 -04:00
parent 62c43794e9
commit 7963d3c996
3 changed files with 8 additions and 3 deletions

View File

@@ -50,6 +50,7 @@ export class SetPinComponent implements OnInit {
} else {
await this.stateService.setUserSymKeyPin(pinProtectedKey);
}
await this.cryptoService.clearOldPinKeys();
this.modalRef.close(true);
}