1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 16:53:34 +00:00

check for ephemeral pin before process reload

This commit is contained in:
Jacob Fink
2023-06-16 13:53:44 -04:00
parent 7f0749ca5c
commit 3e5e45f147

View File

@@ -39,8 +39,8 @@ export class SystemService implements SystemServiceAbstraction {
}
// User has set a PIN, with ask for master password on restart, to protect their vault
const decryptedPinProtected = await this.stateService.getDecryptedPinProtected();
if (decryptedPinProtected != null) {
const ephemeralPin = await this.stateService.getUserSymKeyPinEphemeral();
if (ephemeralPin != null) {
return;
}