aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-08-05 18:05:27 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-08-05 18:05:27 +0200
commit66af9ee16d5b61bb707f359b750b25f2faff306c (patch)
treea12ce0da3ee9176d616cf59b2ca32d3fdc342d18 /client/src
parent629d8d6f70cf83b55011dff53bfe1c4a95ac3433 (diff)
downloadPeerTube-66af9ee16d5b61bb707f359b750b25f2faff306c.tar.gz
PeerTube-66af9ee16d5b61bb707f359b750b25f2faff306c.tar.zst
PeerTube-66af9ee16d5b61bb707f359b750b25f2faff306c.zip
Client: Redirect user to home page after logout
Diffstat (limited to 'client/src')
-rw-r--r--client/src/app/app.component.ts2
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() {