From 23e6d1117a9ec6bea7f633fa628f541fbc09a07a Mon Sep 17 00:00:00 2001 From: Jacob Fink Date: Tue, 30 May 2023 11:58:52 -0400 Subject: [PATCH] update register component in lib to use new crypto service --- libs/angular/src/components/register.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/angular/src/components/register.component.ts b/libs/angular/src/components/register.component.ts index 510da6160a6..78509166e17 100644 --- a/libs/angular/src/components/register.component.ts +++ b/libs/angular/src/components/register.component.ts @@ -274,7 +274,7 @@ export class RegisterComponent extends CaptchaProtectedComponent implements OnIn const key = await this.cryptoService.makeKey(masterPassword, email, kdf, kdfConfig); const encKey = await this.cryptoService.makeEncKey(key); const hashedPassword = await this.cryptoService.hashPassword(masterPassword, key); - const keys = await this.cryptoService.makeKeyPair(encKey[0]); + const keys = await this.cryptoService.makeKeyPair(newUserSymKey[0]); const request = new RegisterRequest( email, name,