This commit is contained in:
tiago.kayaya
2021-04-28 10:40:41 +01:00
parent 50f51eeaca
commit 91163070ad
5 changed files with 45 additions and 43 deletions
+3 -1
View File
@@ -53,9 +53,11 @@ export class AuthService {
if (result)
{
this.ValidatedUser = user;
console.log(user);
//if(!environment.production){
localStorage.setItem('user', JSON.stringify(Object.assign(user, response) ) );
localStorage.setItem('user', JSON.stringify(Object.assign(user, response)));
//}
this.storageService.store(AuthConnstants.USER, response);