From c8b7ae49597a849e727147bb548b79c22ce75cfd Mon Sep 17 00:00:00 2001 From: Todd Martin Date: Tue, 15 Oct 2024 15:47:50 -0400 Subject: [PATCH] Fixed unlock command. --- apps/cli/src/auth/commands/unlock.command.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/cli/src/auth/commands/unlock.command.ts b/apps/cli/src/auth/commands/unlock.command.ts index bebaa94604..ac5b89fc1f 100644 --- a/apps/cli/src/auth/commands/unlock.command.ts +++ b/apps/cli/src/auth/commands/unlock.command.ts @@ -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()) {