mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 16:53:34 +00:00
fix EncString serialization issues & various fixes
Co-authored-by: Matt Gibson <MGibson1@users.noreply.github.com>
This commit is contained in:
@@ -162,7 +162,8 @@ export class LockComponent implements OnInit, OnDestroy {
|
||||
} else {
|
||||
// MP on restart disabled
|
||||
userSymKeyPin = await this.stateService.getUserSymKeyPin();
|
||||
oldPinProtected = new EncString(await this.stateService.getEncryptedPinProtected());
|
||||
const oldEncryptedKey = await this.stateService.getEncryptedPinProtected();
|
||||
oldPinProtected = oldEncryptedKey ? new EncString(oldEncryptedKey) : undefined;
|
||||
}
|
||||
|
||||
let userSymKey: UserSymKey;
|
||||
|
||||
Reference in New Issue
Block a user