mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 00:33:44 +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 key = await this.cryptoService.makeKey(masterPassword, email, kdf, kdfConfig);
|
||||||
const encKey = await this.cryptoService.makeEncKey(key);
|
const encKey = await this.cryptoService.makeEncKey(key);
|
||||||
const hashedPassword = await this.cryptoService.hashPassword(masterPassword, 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(
|
const request = new RegisterRequest(
|
||||||
email,
|
email,
|
||||||
name,
|
name,
|
||||||
|
|||||||
Reference in New Issue
Block a user