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:
@@ -50,6 +50,7 @@ export class SetPinComponent implements OnInit {
|
||||
} else {
|
||||
await this.stateService.setUserSymKeyPin(pinProtectedKey);
|
||||
}
|
||||
await this.cryptoService.clearOldPinKeys();
|
||||
|
||||
this.modalRef.close(true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user