Try to hack auth

This commit is contained in:
Jared Palmer 2023-06-02 11:15:04 -04:00
parent d88eae7230
commit 030b23985d
19 changed files with 330 additions and 673 deletions

View file

@ -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,