mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-11 13:45:25 +03:00
remove password constraint
This commit is contained in:
parent
30b9c6237f
commit
8886ab94b6
@ -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>>({
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user