1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-11 05:53:42 +00:00

Add documentation

This commit is contained in:
Bernd Schoolmann
2025-02-07 11:53:58 +01:00
parent 0ac616bfbd
commit e63b497d66
2 changed files with 5 additions and 2 deletions

View File

@@ -156,7 +156,7 @@ export class ChangePasswordComponent
title: this.i18nService.t("errorOccurred"),
message: this.i18nService.t("masterPasswordRequired"),
});
return false;
return;
}
this.loading = true;

View File

@@ -59,7 +59,10 @@ export class UserKeyRotationService {
/**
* Creates a new user key and re-encrypts all required data with the it.
* @param masterPassword current master password (used for validation)
* @param oldMasterPassword: The current master password
* @param newMasterPassword: The new master password
* @param user: The user account
* @param newMasterPasswordHint: The hint for the new master password
*/
async rotateUserKeyMasterPasswordAndEncryptedData(
oldMasterPassword: string,