projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
629d8d6
)
Client: Redirect user to home page after logout
author
Chocobozzz
<florian.bigard@gmail.com>
Fri, 5 Aug 2016 16:05:27 +0000
(18:05 +0200)
committer
Chocobozzz
<florian.bigard@gmail.com>
Fri, 5 Aug 2016 16:05:27 +0000
(18:05 +0200)
client/src/app/app.component.ts
patch
|
blob
|
history
diff --git
a/client/src/app/app.component.ts
b/client/src/app/app.component.ts
index b7a3d7c58c583e164ff1e62720b25750743a87d8..5764f24cad4caa4ee4d7a1de35c7227ab09cb23c 100644
(file)
--- a/
client/src/app/app.component.ts
+++ b/
client/src/app/app.component.ts
@@
-47,6
+47,8
@@
export class AppComponent {
logout() {
this.authService.logout();
+ // Redirect to home page
+ this.router.navigate(['/videos/list']);
}
makeFriends() {