fix: allow first and last name of user to be between 1 and 50 characters

This commit is contained in:
Elias Schneider
2025-01-01 22:48:51 +01:00
parent f6f2736bba
commit 1ff20caa3c
2 changed files with 4 additions and 4 deletions

View File

@@ -25,8 +25,8 @@
};
const formSchema = z.object({
firstName: z.string().min(2).max(30),
lastName: z.string().min(2).max(30),
firstName: z.string().min(1).max(50),
lastName: z.string().min(1).max(50),
username: z
.string()
.min(2)