fix: password hint checks

feat/signup-refactor
supalarry 2023-10-31 10:03:01 +01:00
parent 3c40f4ea5b
commit 3e8470b8dd
1 changed files with 1 additions and 0 deletions

View File

@ -150,6 +150,7 @@ export default function Signup({ prepopulateFormValues, token, orgSlug }: Signup
const formMethods = useForm<FormValues>({ const formMethods = useForm<FormValues>({
resolver: zodResolver(signupSchema), resolver: zodResolver(signupSchema),
defaultValues: prepopulateFormValues satisfies FormValues, defaultValues: prepopulateFormValues satisfies FormValues,
mode: "onChange",
}); });
const { const {
register, register,