remove password constraint

This commit is contained in:
Blake Blackshear 2024-05-12 10:00:43 -05:00
parent 30b9c6237f
commit 8886ab94b6

View File

@ -40,7 +40,7 @@ export default function CreateUserDialog({
.regex(/^[A-Za-z0-9._]+$/, { .regex(/^[A-Za-z0-9._]+$/, {
message: "Username may only include letters, numbers, . or _", message: "Username may only include letters, numbers, . or _",
}), }),
password: z.string().min(8), password: z.string(),
}); });
const form = useForm<z.infer<typeof formSchema>>({ const form = useForm<z.infer<typeof formSchema>>({