From 6cd051ea6e327ab7a10ceff58e01cb6687b6099e Mon Sep 17 00:00:00 2001 From: Peter Maquiran Date: Mon, 10 May 2021 15:31:16 +0100 Subject: [PATCH] Fixe basicAuthKey --- src/app/services/auth.service.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/services/auth.service.ts b/src/app/services/auth.service.ts index 108cfab54..8170105b0 100644 --- a/src/app/services/auth.service.ts +++ b/src/app/services/auth.service.ts @@ -24,7 +24,7 @@ export class AuthService { private storageService:StorageService, private router:Router ) { - + this.headers = new HttpHeaders(); if (localStorage.getItem("user") != null) { @@ -54,6 +54,7 @@ export class AuthService { console.log(response) if (result) { + response.BasicAuthKey = user.BasicAuthKey this.ValidatedUser = response; localStorage.setItem('user', JSON.stringify(response));