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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user