vue-fullstack-graphql
vue-fullstack-graphql copied to clipboard
USER_TOKEN is not defined in Signup page
After fill the signup form and submit, User has registered but can't store user session in page
I'm getting this too.
disappointing to not see any feedback. I'm also having the same issue.
Put the below code in constants
export const AUTH_TOKEN = "auth-token";
export const USER_ID = "user-id";
and also if you are sending user token from server it should follow the above pattern:
export const USER_TOKEN = "user-token";