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:
@@ -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
|
// User has set a PIN, with ask for master password on restart, to protect their vault
|
||||||
const decryptedPinProtected = await this.stateService.getDecryptedPinProtected();
|
const ephemeralPin = await this.stateService.getUserSymKeyPinEphemeral();
|
||||||
if (decryptedPinProtected != null) {
|
if (ephemeralPin != null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user