NuxtN
Nuxt3y ago
Lean

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 ?
image.png
image.png
Was this page helpful?