X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fapp.component.ts;h=984470d69257fe8056266a86438b26081990af18;hb=c2962505115563ad1510e8116f3b362887cac71f;hp=7d890e72aa37eaf40b332237c2d28365bf542786;hpb=35bf0c83c80f59ca79f4b84fac8700f17adeb22d;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/app.component.ts b/client/src/app/app.component.ts index 7d890e72a..984470d69 100644 --- a/client/src/app/app.component.ts +++ b/client/src/app/app.component.ts @@ -37,7 +37,7 @@ export class AppComponent implements OnInit { if (this.authService.isLoggedIn()) { // The service will automatically redirect to the login page if the token is not valid anymore - this.userService.checkTokenValidity() + this.authService.refreshUserInformation() } // Load custom data from server