mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-10 04:19:32 +00:00
fix: session inference breaking on some plugins
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
import { betterAuth } from "better-auth";
|
||||
import { prismaAdapter } from "better-auth/adapters/prisma";
|
||||
import { twoFactor } from "better-auth/plugins";
|
||||
|
||||
export const auth = betterAuth({
|
||||
database: prismaAdapter(
|
||||
{},
|
||||
{
|
||||
provider: "mysql",
|
||||
},
|
||||
),
|
||||
plugins: [twoFactor()],
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user