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:
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user