remove: unnecessary code
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
// auth.ts
|
||||
import payloadConfig from "@payload-config";
|
||||
import NextAuth from "next-auth";
|
||||
import { withPayload } from "payload-authjs";
|
||||
import { authConfig } from "./auth.config";
|
||||
import { authConfig } from "./auth.config"; // ⚠ Import the config from a separate file
|
||||
|
||||
export const { handlers, signIn, signOut, auth } = NextAuth(
|
||||
withPayload(authConfig, {
|
||||
|
||||
Reference in New Issue
Block a user