mirror of
https://github.com/bitwarden/browser
synced 2026-01-31 00:33:33 +00:00
Fix hash purpose
This commit is contained in:
@@ -70,7 +70,7 @@ export class DefaultChangeKdfService implements ChangeKdfService {
|
||||
const serverMasterKeyHash = await this.keyService.hashMasterKey(
|
||||
masterPassword,
|
||||
masterKey,
|
||||
HashPurpose.ServerAuthorization,
|
||||
HashPurpose.LocalAuthorization,
|
||||
);
|
||||
await this.masterPasswordService.setMasterKeyHash(serverMasterKeyHash, userId);
|
||||
await this.masterPasswordService.setMasterKey(masterKey, userId);
|
||||
|
||||
Reference in New Issue
Block a user