complete web device auth flow

This commit is contained in:
miloschwartz
2025-11-03 11:10:17 -08:00
parent da0196a308
commit e888b76747
28 changed files with 1151 additions and 68 deletions

View File

@@ -13,7 +13,7 @@ import { eq, and } from "drizzle-orm";
import { UserType } from "@server/types/UserTypes";
import moment from "moment";
export const bodySchema = z.object({
const bodySchema = z.object({
email: z.string().toLowerCase().email(),
password: passwordSchema,
setupToken: z.string().min(1, "Setup token is required")