🐛 Set max length for name on client side form

This commit is contained in:
Luke Vella 2025-03-09 17:53:39 +00:00
parent a7d1fa9a5c
commit e777e673a3
No known key found for this signature in database
GPG key ID: 469CAD687F0D784C

View file

@ -1,7 +1,7 @@
import { z } from "zod"; import { z } from "zod";
export const registerNameFormSchema = z.object({ export const registerNameFormSchema = z.object({
name: z.string().min(1), name: z.string().min(1).max(100),
email: z.string().email(), email: z.string().email(),
}); });