remove: unnecessary code

This commit is contained in:
Dominik Natter
2025-03-26 14:20:05 +01:00
parent 18ab55600b
commit 56e90c202d
200 changed files with 9738 additions and 11700 deletions

View File

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