diff options
Diffstat (limited to 'client/src/app/app.component.ts')
-rw-r--r-- | client/src/app/app.component.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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 { | |||
37 | 37 | ||
38 | if (this.authService.isLoggedIn()) { | 38 | if (this.authService.isLoggedIn()) { |
39 | // The service will automatically redirect to the login page if the token is not valid anymore | 39 | // The service will automatically redirect to the login page if the token is not valid anymore |
40 | this.userService.checkTokenValidity() | 40 | this.authService.refreshUserInformation() |
41 | } | 41 | } |
42 | 42 | ||
43 | // Load custom data from server | 43 | // Load custom data from server |