This commit is contained in:
@@ -70,8 +70,6 @@ export default function (fastify: FastifyInstance) {
|
||||
const session = await auth.createSession(user.id, {})
|
||||
const cookie = auth.createSessionCookie(session.id)
|
||||
|
||||
cookie.attributes.secure = false
|
||||
|
||||
reply.setCookie(cookie.name, cookie.value, cookie.attributes)
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user