Implemented email verification

This commit is contained in:
2024-04-12 13:52:16 +03:00
parent 78107d4ec7
commit b1ad7b5c3e
51 changed files with 604 additions and 213 deletions

View File

@@ -1,5 +1,5 @@
import { User } from '@prisma/client'
import { db } from '@/lib/db'
import db from '@/lib/db'
export const getUserByEmail = async (email: string): Promise<User | null> => {
try {