mirror of
https://github.com/bitwarden/browser
synced 2025-12-14 07:13:32 +00:00
Fix authService.logOut not being called (#7790)
This commit is contained in:
@@ -558,7 +558,7 @@ export class AppComponent implements OnInit, OnDestroy {
|
|||||||
|
|
||||||
// This must come last otherwise the logout will prematurely trigger
|
// This must come last otherwise the logout will prematurely trigger
|
||||||
// a process reload before all the state service user data can be cleaned up
|
// a process reload before all the state service user data can be cleaned up
|
||||||
if (userBeingLoggedOut === this.activeUserId) {
|
if (userBeingLoggedOut === preLogoutActiveUserId) {
|
||||||
this.searchService.clearIndex();
|
this.searchService.clearIndex();
|
||||||
this.authService.logOut(async () => {
|
this.authService.logOut(async () => {
|
||||||
if (expired) {
|
if (expired) {
|
||||||
|
|||||||
Reference in New Issue
Block a user