chore: migrate to PostgreSQL with Prisma

This commit is contained in:
AyrisAI
2026-05-14 14:57:15 +03:00
parent 2642d254dc
commit f328296c64
10 changed files with 253 additions and 61 deletions

View File

@@ -16,7 +16,7 @@ export const { handlers, signIn, signOut, auth } = NextAuth({
if (!email || !password) return null;
const user = authenticateUser(email, password);
const user = await authenticateUser(email, password);
if (!user) return null;
return {