THERE IS A RACE CONDITION BETWEEN USE AND REPEATED REFRESH OF A TOKEN

This commit is contained in:
2021-09-03 22:07:52 +02:00
parent 657d85538e
commit 606ac6d81f
4 changed files with 1 additions and 24 deletions

View File

@ -15,7 +15,6 @@ import { NavigationEnd, Router } from '@angular/router';
export class NavigationComponent {
public authenticated: boolean
expiresIn: number
isHandset$: Observable<boolean> = this.breakpointObserver.observe(Breakpoints.Handset)
.pipe(
@ -36,7 +35,6 @@ export class NavigationComponent {
ngOnInit() {
this.authenticated = this.tokenService.checkAuthenticated()
this.expiresIn = 600
}
}