This commit is contained in:
Max Kowalski
2025-06-26 22:43:22 +02:00
parent 8774a1f155
commit fd55b30398
30 changed files with 1458 additions and 1859 deletions

7
lib/auth-service.ts Normal file
View File

@ -0,0 +1,7 @@
import { prisma } from "./prisma";
export async function findUserByEmail(email: string) {
return prisma.user.findUnique({
where: { email },
});
}