Fix import
This commit is contained in:
parent
c555ecd259
commit
240b14e7e1
1 changed files with 2 additions and 2 deletions
4
auth.ts
4
auth.ts
|
|
@ -1,10 +1,10 @@
|
||||||
import NextAuth from "@auth/nextjs";
|
import NextAuth from "@auth/nextjs";
|
||||||
import GitHub from "@auth/nextjs/providers/github";
|
import GitHub from "@auth/core/providers/github";
|
||||||
import { NextResponse } from "next/server";
|
import { NextResponse } from "next/server";
|
||||||
|
|
||||||
export const {
|
export const {
|
||||||
handlers: { GET, POST },
|
handlers: { GET, POST },
|
||||||
auth,
|
auth,
|
||||||
CSRF_experimental,
|
|
||||||
} = NextAuth({
|
} = NextAuth({
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
providers: [GitHub],
|
providers: [GitHub],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue