get Token from service

This commit is contained in:
annampak 2017-10-17 12:14:55 +03:00
parent 3a0df34f12
commit bdac9f0b30
1 changed files with 1 additions and 1 deletions

View File

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