mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
Fixe basicAuthKey
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user