mirror of
https://github.com/bitwarden/desktop
synced 2026-02-21 11:53:25 +00:00
[bug] Don't clean up state until everything else is done on logout
This commit is contained in:
@@ -388,7 +388,6 @@ export class AppComponent implements OnInit {
|
||||
this.passwordGenerationService.clear(userId),
|
||||
this.vaultTimeoutService.clear(userId),
|
||||
this.policyService.clear(userId),
|
||||
this.stateService.purge({ userId: userId }),
|
||||
this.keyConnectorService.clear(),
|
||||
]);
|
||||
|
||||
@@ -404,6 +403,8 @@ export class AppComponent implements OnInit {
|
||||
this.router.navigate(['login']);
|
||||
});
|
||||
}
|
||||
|
||||
await this.stateService.clean({ userId: userId });
|
||||
}
|
||||
|
||||
private async recordActivity() {
|
||||
|
||||
Reference in New Issue
Block a user