1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-19 17:53:39 +00:00

removed redundant clear index from logout

This commit is contained in:
gbubemismith
2024-04-11 17:23:01 +01:00
parent bcceddb209
commit dddeb93d64
2 changed files with 0 additions and 2 deletions

View File

@@ -1171,7 +1171,6 @@ export default class MainBackground {
this.vaultTimeoutSettingsService.clear(userId),
this.vaultFilterService.clear(),
this.biometricStateService.logout(userId),
this.searchService.clearIndex(),
/* We intentionally do not clear:
* - autofillSettingsService
* - badgeSettingsService

View File

@@ -587,7 +587,6 @@ export class AppComponent implements OnInit, OnDestroy {
await this.passwordGenerationService.clear(userBeingLoggedOut);
await this.vaultTimeoutSettingsService.clear(userBeingLoggedOut);
await this.biometricStateService.logout(userBeingLoggedOut as UserId);
await this.searchService.clearIndex();
await this.stateEventRunnerService.handleEvent("logout", userBeingLoggedOut as UserId);