get Token from service
This commit is contained in:
parent
3a0df34f12
commit
bdac9f0b30
|
@ -45,7 +45,7 @@ export class LoginComponent implements OnInit{
|
|||
this.tokenService.setEmail(profile.getEmail());
|
||||
this.tokenService.setUsername(profile.getName());
|
||||
|
||||
|
||||
localStorage.setItem('currentUser', this.tokenService.getToken());
|
||||
/* AYTA FEYGOUN, xanontai me to refresh tis selidas
|
||||
|
||||
localStorage.setItem('currentUser', JSON.stringify(googleUser));
|
||||
|
|
Loading…
Reference in New Issue