🐛 Fix issues with login page

This commit is contained in:
Meier Lukas
2023-07-28 20:45:54 +02:00
parent d7f6bdf417
commit 326395730e
8 changed files with 1104 additions and 997 deletions

View File

@@ -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));
}