more logging stuff

This commit is contained in:
2026-03-18 12:22:00 -05:00
parent 2846b9cb0d
commit e67e9e6d72
15 changed files with 287 additions and 45 deletions

View File

@@ -32,15 +32,15 @@ export const auth = betterAuth({
schema,
}),
trustedOrigins: allowedOrigins,
// user: {
// additionalFields: {
// role: {
// type: "string",
// //required: false,
// input: false,
// },
// },
// },
user: {
additionalFields: {
role: {
type: "string",
//required: false,
input: false,
},
},
},
plugins: [
jwt({ jwt: { expirationTime: "1h" } }),
//apiKey(),
@@ -137,3 +137,5 @@ export const auth = betterAuth({
// },
},
});
type Session = typeof auth.$Infer.Session;