You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: