mirror of
https://github.com/kennethnym/aris.git
synced 2026-02-03 05:31:16 +00:00
11 lines
170 B
TypeScript
11 lines
170 B
TypeScript
|
|
import { betterAuth } from "better-auth"
|
||
|
|
|
||
|
|
import { pool } from "../db.ts"
|
||
|
|
|
||
|
|
export const auth = betterAuth({
|
||
|
|
database: pool,
|
||
|
|
emailAndPassword: {
|
||
|
|
enabled: true,
|
||
|
|
},
|
||
|
|
})
|