mirror of
https://github.com/bitwarden/browser
synced 2025-12-06 00:13:28 +00:00
feat: add folder.clear warning (#16376)
This commit is contained in:
@@ -1640,6 +1640,7 @@ export default class MainBackground {
|
||||
await Promise.all([
|
||||
this.keyService.clearKeys(userBeingLoggedOut),
|
||||
this.cipherService.clear(userBeingLoggedOut),
|
||||
// ! DO NOT REMOVE folderService.clear ! For more information see PM-25660
|
||||
this.folderService.clear(userBeingLoggedOut),
|
||||
this.vaultTimeoutSettingsService.clear(userBeingLoggedOut),
|
||||
this.biometricStateService.logout(userBeingLoggedOut),
|
||||
|
||||
@@ -907,6 +907,7 @@ export class ServiceContainer {
|
||||
this.eventUploadService.uploadEvents(userId as UserId),
|
||||
this.keyService.clearKeys(userId),
|
||||
this.cipherService.clear(userId),
|
||||
// ! DO NOT REMOVE folderService.clear ! For more information see PM-25660
|
||||
this.folderService.clear(userId),
|
||||
]);
|
||||
|
||||
|
||||
@@ -689,6 +689,7 @@ export class AppComponent implements OnInit, OnDestroy {
|
||||
await this.eventUploadService.uploadEvents(userBeingLoggedOut);
|
||||
await this.keyService.clearKeys(userBeingLoggedOut);
|
||||
await this.cipherService.clear(userBeingLoggedOut);
|
||||
// ! DO NOT REMOVE folderService.clear ! For more information see PM-25660
|
||||
await this.folderService.clear(userBeingLoggedOut);
|
||||
await this.vaultTimeoutSettingsService.clear(userBeingLoggedOut);
|
||||
await this.biometricStateService.logout(userBeingLoggedOut);
|
||||
|
||||
@@ -258,6 +258,7 @@ export class AppComponent implements OnDestroy, OnInit {
|
||||
await Promise.all([
|
||||
this.keyService.clearKeys(userId),
|
||||
this.cipherService.clear(userId),
|
||||
// ! DO NOT REMOVE folderService.clear ! For more information see PM-25660
|
||||
this.folderService.clear(userId),
|
||||
this.biometricStateService.logout(userId),
|
||||
]);
|
||||
|
||||
@@ -144,6 +144,7 @@ export class VaultTimeoutService implements VaultTimeoutServiceAbstraction {
|
||||
|
||||
await this.searchService.clearIndex(lockingUserId);
|
||||
|
||||
// ! DO NOT REMOVE folderService.clearDecryptedFolderState ! For more information see PM-25660
|
||||
await this.folderService.clearDecryptedFolderState(lockingUserId);
|
||||
await this.masterPasswordService.clearMasterKey(lockingUserId);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user