vue-fullstack-graphql icon indicating copy to clipboard operation
vue-fullstack-graphql copied to clipboard

USER_TOKEN is not defined in Signup page

Open anugoon-c opened this issue 6 years ago • 3 comments

After fill the signup form and submit, User has registered but can't store user session in page

anugoon-c avatar Jun 20 '18 08:06 anugoon-c

I'm getting this too.

delanthear avatar Oct 06 '18 21:10 delanthear

disappointing to not see any feedback. I'm also having the same issue.

ChaStPierre avatar Oct 30 '18 01:10 ChaStPierre

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";

MikeAliG avatar Nov 30 '18 00:11 MikeAliG