🐛 Fix issues with login page
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
import { NextApiRequest, NextApiResponse } from 'next';
|
||||
import NextAuth from 'next-auth';
|
||||
import { constructAuthOptions } from '~/server/auth';
|
||||
|
||||
export default async function auth(req: NextApiRequest, res: NextApiResponse) {
|
||||
return await NextAuth(req, res, constructAuthOptions(req, res));
|
||||
}
|
||||
Reference in New Issue
Block a user