feat: implement forgot password, added security updates
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE "User"
|
||||
ADD COLUMN IF NOT EXISTS "passwordChangedAt" TIMESTAMP(3);
|
||||
@@ -24,6 +24,7 @@ model User {
|
||||
id String @id @default(uuid())
|
||||
email String @unique
|
||||
passwordHash String?
|
||||
passwordChangedAt DateTime?
|
||||
displayName String?
|
||||
emailVerified Boolean @default(false)
|
||||
seenUpdateVersion Int @default(0)
|
||||
|
||||
Reference in New Issue
Block a user