This commit is contained in:
tiago.kayaya
2021-02-26 08:38:33 +01:00
parent a74a8bfa9d
commit 8a93e49f71
9 changed files with 63 additions and 16 deletions
+3 -6
View File
@@ -52,12 +52,9 @@ export class AuthService {
result = await this.http.get<boolean>(service, options).toPromise();
response = await this.http.post<any>(environment.apiURL + "UserAuthentication/Login", '', this.opts).toPromise();
/* this.http.post(environment.apiURL + "UserAuthentication/Login", '', this.opts).subscribe(res=>{
this.storageService.store(AuthConnstants.USER, res);
this.ValidatedUser = user;
response = user;
console.log(user);
}); */
console.log(response);
if (result)
{