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,9 +1,10 @@
import { NextAuthConfig } from "next-auth";
// auth.config.ts
import github from "next-auth/providers/github";
import { NextAuthConfig } from 'next-auth'
export const authConfig: NextAuthConfig = {
providers: [github],
callbacks: {
authorized: ({ auth }) => !!auth,
},
providers: [
github, // <-- Add your provider here
],
};