mirror of
https://github.com/nikdoof/pocket-id.git
synced 2025-12-13 23:02:17 +00:00
fix: allow first and last name of user to be between 1 and 50 characters
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user