Create the Login API
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
/* eslint-disable new-cap */
|
||||
import NextAuth from 'next-auth'
|
||||
import {options} from './options.js'
|
||||
|
||||
const handler = NextAuth(options)
|
||||
|
||||
export {handler as GET, handler as POST}
|
||||
Reference in New Issue
Block a user