feat: 3-click SSO registration - unified /auth page, Google/Apple/GitHub OAuth, email fallback, provider model

This commit is contained in:
root
2026-06-15 12:42:03 +02:00
parent 64ae34e9c9
commit d194e295ad
12 changed files with 1150 additions and 294 deletions
BIN
View File
Binary file not shown.
+5
View File
@@ -13,6 +13,9 @@ model User {
email String @unique
name String
passwordHash String?
provider String @default("email")
providerId String?
avatar String?
flhBalance Int @default(5000)
isPro Boolean @default(false)
isPremium Boolean @default(false)
@@ -29,6 +32,8 @@ model User {
trialEndsAt DateTime?
createdAt DateTime @default(now())
@@index([provider, providerId])
listings Listing[]
purchases Purchase[] @relation("BuyerPurchases")
sales Purchase[] @relation("SellerPurchases")