mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-09 12:27:43 +00:00
fix: prisma schema gen diff
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { betterAuth } from "better-auth";
|
||||
import { prismaAdapter } from "better-auth/adapters/prisma";
|
||||
import { twoFactor } from "better-auth/plugins";
|
||||
|
||||
export const auth = betterAuth({
|
||||
database: prismaAdapter(
|
||||
@@ -8,4 +9,5 @@ export const auth = betterAuth({
|
||||
provider: "mysql",
|
||||
},
|
||||
),
|
||||
plugins: [twoFactor()]
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user