X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fapp.component.ts;h=984470d69257fe8056266a86438b26081990af18;hb=c2962505115563ad1510e8116f3b362887cac71f;hp=68719f73d284d236ac8ddb244fdca7a9213fbaa9;hpb=db7af09bd8e9de57cdda88c2e32387551235b3a4;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/app.component.ts b/client/src/app/app.component.ts index 68719f73d..984470d69 100644 --- a/client/src/app/app.component.ts +++ b/client/src/app/app.component.ts @@ -11,7 +11,7 @@ import { UserService } from './shared' }) export class AppComponent implements OnInit { notificationOptions = { - timeOut: 3000, + timeOut: 5000, lastOnBottom: true, clickToClose: true, maxLength: 0, @@ -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