})
export class AppComponent implements OnInit {
notificationOptions = {
- timeOut: 3000,
+ timeOut: 5000,
lastOnBottom: true,
clickToClose: true,
maxLength: 0,
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