User gets "unauthenticated" after page reload.
Ive created a basic local auth implementation with a register route, login route and a user route. Everything in the backend looks to work fine, but when i reload the page, the user information gets deleted from localStorage.
How would i fix this ?


1 Reply
For whatever reason, the token expires right away