Skip to content

Commit

Permalink
navigate to login page after logout
Browse files Browse the repository at this point in the history
  • Loading branch information
bobcaprice committed Nov 1, 2023
1 parent 9ed6331 commit 294568c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ui/src/app/layout/navbar/navbar.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ export class NavbarComponent implements OnInit {
} else {
this.memberService.setManagedMember(null)
this.loginService.logout()
this.router.navigate([''])
console.log('logged out now')
this.router.navigate(['/login'])
}
}

Expand Down

0 comments on commit 294568c

Please sign in to comment.