remove: unnecessary code
This commit is contained in:
@@ -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
|
||||
],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user