NuxtN
Nuxt13mo ago
bnason

Setting cookie with sendRedirect

I'm having a weird error where I can't make a simple replication for it seems. I am logging in a user and setting their session via useSession then I am redirecting them back to where they came from using sendRedirect. However that results in their session NOT being set. If I simply comment out the sendRedirect everything works fine though.
Was this page helpful?