1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 00:03:56 +00:00

update register component in lib to use new crypto service

This commit is contained in:
Jacob Fink
2023-05-30 11:58:52 -04:00
parent f466c91469
commit 23e6d1117a

View File

@@ -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,