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));