1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 08:43:33 +00:00

add handleMigrateEncryptionKey to default and web service

This commit is contained in:
rr-bw
2024-09-02 08:50:38 -07:00
parent 983cee8af6
commit 19acf12900
6 changed files with 83 additions and 6 deletions

View File

@@ -332,8 +332,7 @@ export class LoginComponent extends CaptchaProtectedComponent implements OnInit,
await this.loginEmailService.saveEmailSettings();
}
// Legacy accounts used the master key to encrypt data. Migration is required
// but only performed on web
// Legacy accounts used the master key to encrypt data. Migration is required but only performed on web
protected async handleMigrateEncryptionKey(result: AuthResult): Promise<boolean> {
if (!result.requiresEncryptionKeyMigration) {
return false;