feat: Add email verification and password reset

This commit is contained in:
Dries Augustyns
2025-12-20 20:06:25 +01:00
parent 7e25c148cc
commit 1a5607f278
31 changed files with 1026 additions and 122 deletions
@@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "users" ADD COLUMN "emailVerified" BOOLEAN NOT NULL DEFAULT false;
+4 -3
View File
@@ -17,9 +17,10 @@ model User {
id String @id @default(uuid())
// Credentials
email String @unique
password String?
type AuthMethod
email String @unique
password String?
type AuthMethod
emailVerified Boolean @default(false)
// Relations
memberships Membership[]