Client: Redirect user to home page after logout
This commit is contained in:
parent
629d8d6f70
commit
66af9ee16d
1 changed files with 2 additions and 0 deletions
|
@ -47,6 +47,8 @@ export class AppComponent {
|
||||||
|
|
||||||
logout() {
|
logout() {
|
||||||
this.authService.logout();
|
this.authService.logout();
|
||||||
|
// Redirect to home page
|
||||||
|
this.router.navigate(['/videos/list']);
|
||||||
}
|
}
|
||||||
|
|
||||||
makeFriends() {
|
makeFriends() {
|
||||||
|
|
Loading…
Reference in a new issue