Client: Redirect user to home page after logout

pull/10/head
Chocobozzz 2016-08-05 18:05:27 +02:00
parent 629d8d6f70
commit 66af9ee16d
1 changed files with 2 additions and 0 deletions

View File

@ -47,6 +47,8 @@ export class AppComponent {
logout() {
this.authService.logout();
// Redirect to home page
this.router.navigate(['/videos/list']);
}
makeFriends() {