1
0
Fork 0

Client: Redirect user to home page after logout

This commit is contained in:
Chocobozzz 2016-08-05 18:05:27 +02:00
parent 629d8d6f70
commit 66af9ee16d

View file

@ -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() {