diff options
Diffstat (limited to 'client/src/app/app.component.ts')
-rw-r--r-- | client/src/app/app.component.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/src/app/app.component.ts b/client/src/app/app.component.ts index b7a3d7c58..5764f24ca 100644 --- a/client/src/app/app.component.ts +++ b/client/src/app/app.component.ts | |||
@@ -47,6 +47,8 @@ export class AppComponent { | |||
47 | 47 | ||
48 | logout() { | 48 | logout() { |
49 | this.authService.logout(); | 49 | this.authService.logout(); |
50 | // Redirect to home page | ||
51 | this.router.navigate(['/videos/list']); | ||
50 | } | 52 | } |
51 | 53 | ||
52 | makeFriends() { | 54 | makeFriends() { |