fix(ui): Force page reload on logout (#1870)

This commit is contained in:
Muppetteer
2025-12-14 19:22:06 -07:00
committed by GitHub
parent ed05820658
commit 0b4bccb462
3 changed files with 4 additions and 4 deletions
@@ -73,7 +73,6 @@ function handle401Error(authService: AuthService, request: HttpRequest<any>, nex
}
function forceLogout(authService: AuthService, router: Router, message?: string): void {
authService.logout();
router.navigate(['/login']);
if (message) console.warn(message);
authService.logout();
}