mirror of
https://github.com/bitwarden/browser
synced 2025-12-20 02:03: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.vaultTimeoutSettingsService.clear(userId),
|
||||||
this.vaultFilterService.clear(),
|
this.vaultFilterService.clear(),
|
||||||
this.biometricStateService.logout(userId),
|
this.biometricStateService.logout(userId),
|
||||||
this.searchService.clearIndex(),
|
|
||||||
/* We intentionally do not clear:
|
/* We intentionally do not clear:
|
||||||
* - autofillSettingsService
|
* - autofillSettingsService
|
||||||
* - badgeSettingsService
|
* - badgeSettingsService
|
||||||
|
|||||||
@@ -587,7 +587,6 @@ export class AppComponent implements OnInit, OnDestroy {
|
|||||||
await this.passwordGenerationService.clear(userBeingLoggedOut);
|
await this.passwordGenerationService.clear(userBeingLoggedOut);
|
||||||
await this.vaultTimeoutSettingsService.clear(userBeingLoggedOut);
|
await this.vaultTimeoutSettingsService.clear(userBeingLoggedOut);
|
||||||
await this.biometricStateService.logout(userBeingLoggedOut as UserId);
|
await this.biometricStateService.logout(userBeingLoggedOut as UserId);
|
||||||
await this.searchService.clearIndex();
|
|
||||||
|
|
||||||
await this.stateEventRunnerService.handleEvent("logout", userBeingLoggedOut as UserId);
|
await this.stateEventRunnerService.handleEvent("logout", userBeingLoggedOut as UserId);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user