]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/app.component.ts
Add channels to upload form
[github/Chocobozzz/PeerTube.git] / client / src / app / app.component.ts
index 7d890e72aa37eaf40b332237c2d28365bf542786..984470d69257fe8056266a86438b26081990af18 100644 (file)
@@ -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