// One schema, used by both the /login form (client) and /api/login (server). import { v } from "@wrnexus/validation"; export default v.object({ email: v.string().email(), password: v.string().min(8, "Password must be at least 8 characters"), });