Closed dalbodeule closed 1 month ago
Hmm... is my fault.
if you make manual login, must follow this.
await setUserSession(event, {
user: {
username: user.username,
email: user.email,
nickname: user.nickname,
id: user.id
},
secure: {
},
loggedInAt: new Date(),
});
server/routes/api/auth/login.post.ts
pages/login.vue
But, loggedIn ref is still false. Help me!
(nuxt 3.12.4, @vite-pwa/nuxt used.)