Fixed unlock command.

This commit is contained in:
Todd Martin 2024-10-15 15:47:50 -04:00
parent 0e823e1259
commit c8b7ae4959
No known key found for this signature in database
GPG Key ID: 663E7AF5C839BC8F
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ export class UnlockCommand {
return Response.error(e.message);
}
const userKey = await this.masterPasswordService.decryptUserKeyWithMasterKey(masterKey);
const userKey = await this.masterPasswordService.decryptUserKeyWithMasterKey(masterKey, userId);
await this.cryptoService.setUserKey(userKey, userId);
if (await this.keyConnectorService.getConvertAccountRequired()) {