Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ID and token in localstorage #52

Open
itsina96 opened this issue Apr 24, 2020 · 1 comment
Open

ID and token in localstorage #52

itsina96 opened this issue Apr 24, 2020 · 1 comment

Comments

@itsina96
Copy link

Since we can log in without signup, which is expected with only token-based authentication, maybe set an if statement to only store the token and user ID when user is authenticated. At the moment the logged in users (without signup) have the id and token as undefined.

@itsina96
Copy link
Author

That being said, in our project you can actually get a proper id and token when ya login without sign up lol

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant