mirror of
https://gitlab.com/little-lines/frontend.git
synced 2024-11-21 19:56:52 +00:00
favorites for Google account
This commit is contained in:
parent
0785bc440c
commit
3794690cef
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@ export default {
|
|||
console.log("User Details:", userDetails);
|
||||
this.userDetails = userDetails;
|
||||
|
||||
sessionStorage.setItem('current_user', userDetails.user.username);
|
||||
sessionStorage.setItem('current_user', JSON.stringify({id:userDetails.user._id}));
|
||||
this.$router.push({ name: 'home' });
|
||||
|
||||
// Redirect to the homepage ("/")
|
||||
|
|
Loading…
Reference in a new issue