mirror of https://github.com/Chocobozzz/PeerTube
Client: Redirect user to home page after logout
parent
629d8d6f70
commit
66af9ee16d
|
@ -47,6 +47,8 @@ export class AppComponent {
|
|||
|
||||
logout() {
|
||||
this.authService.logout();
|
||||
// Redirect to home page
|
||||
this.router.navigate(['/videos/list']);
|
||||
}
|
||||
|
||||
makeFriends() {
|
||||
|
|
Loading…
Reference in New Issue