Rework authentication

This commit is contained in:
Aslan 2026-01-01 17:06:31 +01:00
parent a85330e8cf
commit c07d33bcc9
17 changed files with 317 additions and 128 deletions

View file

@ -59,7 +59,7 @@ model Session {
id String @id @unique @default(uuid())
owner User @relation(fields: [userId], references: [id], onDelete: Cascade)
userId String
token String
cookie String
creationDate DateTime @default(now())
}