mirror of
https://github.com/yusufipk/OpenFrame.git
synced 2026-09-11 09:36:08 +00:00
feat: Implement secure email/password authentication with user registration, API rate limiting, and dynamic homepage navigation.
This commit is contained in:
@@ -18,6 +18,7 @@ model User {
|
||||
email String? @unique
|
||||
emailVerified DateTime?
|
||||
image String?
|
||||
password String? // Hashed password for email/password auth
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
|
||||
@@ -248,7 +249,7 @@ model ShareLink {
|
||||
expiresAt DateTime? // Link expiration
|
||||
maxUses Int? // Maximum number of uses
|
||||
useCount Int @default(0)
|
||||
password String? // Optional password protection
|
||||
passwordHash String? // Bcrypt hash of optional password protection
|
||||
|
||||
// Settings
|
||||
allowGuests Boolean @default(true) // Allow comments without account
|
||||
|
||||
Reference in New Issue
Block a user