This commit is contained in:
Wolfgang Hottgenroth 2021-09-06 14:04:17 +02:00
commit 9478ad27c6
Signed by: wn
GPG Key ID: 6C1E5E531E0D5D7F
2 changed files with 1 additions and 2 deletions

View File

@ -21,7 +21,7 @@ export class AuthHandlerInterceptor implements HttpInterceptor {
if (request.url.includes(serviceBaseUrl) && token) {
this.messageService.add("start refresh of tokens")
this.tokenService.refresh()
this.messageService.add("api request intercepted")
const clone = request.clone({
setHeaders: { Authorization: `Bearer ${token}`}

View File

@ -79,5 +79,4 @@ export class TokenService {
this.messageService.add("Token removed from local storage")
}
}
}