Try to hack auth
This commit is contained in:
parent
d88eae7230
commit
030b23985d
19 changed files with 330 additions and 673 deletions
4
auth.ts
4
auth.ts
|
|
@ -9,14 +9,14 @@ import {
|
|||
sessions,
|
||||
verificationTokens,
|
||||
} from "./lib/db/schema";
|
||||
import { DrizzleAdapterPg } from "./lib/db";
|
||||
import { PgAdapter } from "./lib/db";
|
||||
|
||||
export const {
|
||||
handlers: { GET, POST },
|
||||
auth,
|
||||
CSRF_experimental,
|
||||
} = NextAuth({
|
||||
adapter: DrizzleAdapterPg(db, {
|
||||
adapter: PgAdapter(db, {
|
||||
accounts,
|
||||
users,
|
||||
sessions,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue