mirror of
https://github.com/documenso/documenso.git
synced 2025-11-14 08:42:12 +10:00
Expire token after 1 hour
This commit is contained in:
@ -164,6 +164,7 @@ model PasswordResetToken {
|
||||
id Int @id @default(autoincrement())
|
||||
token String @unique
|
||||
createdAt DateTime @default(now())
|
||||
expiry DateTime
|
||||
userId Int
|
||||
User User @relation(fields: [userId], references: [id])
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user