🔨」 fix: fixed cookie with google callback

This commit is contained in:
2025-10-14 18:24:22 +02:00
parent e826070b8f
commit d80beff543
3 changed files with 3 additions and 3 deletions

View File

@ -49,7 +49,7 @@ export async function gRegisterCallback(request, reply, fastify) {
authUserCreate(user.username, fastify)
const token = fastify.jwt.sign(user);
const token = fastify.jwt.sign({ user: user.username});
return reply
.setCookie('token', token, {