Update auth-router.ts

This commit is contained in:
Daniel Hougaard
2025-08-18 09:53:08 +08:00
parent bd72129d8c
commit 5aeb823c9e
+1 -1
View File
@@ -67,7 +67,7 @@ export const registerAuthRoutes = async (server: FastifyZodProvider) => {
}) })
} }
}, },
onRequest: verifyAuth([AuthMode.JWT]), onRequest: verifyAuth([AuthMode.JWT], { requireOrg: false }),
handler: () => ({ message: "Authenticated" as const }) handler: () => ({ message: "Authenticated" as const })
}); });