mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-09 04:19:26 +00:00
fix: remove db falt config (#57)
* remove db object config * change docs
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
import { betterAuth } from "better-auth";
|
||||
import { organization, twoFactor } from "better-auth/plugins";
|
||||
export const auth = betterAuth({
|
||||
baseURL: "http://localhost:3000",
|
||||
database: {
|
||||
provider: "sqlite",
|
||||
url: "./db.sqlite",
|
||||
},
|
||||
plugins: [
|
||||
twoFactor({
|
||||
issuer: "My App",
|
||||
}),
|
||||
organization(),
|
||||
],
|
||||
});
|
||||
Reference in New Issue
Block a user