diff --git a/src/components/TextInput/PasswordTextInput.tsx b/src/components/TextInput/PasswordTextInput.tsx index 5f28d4312..de28b5a8e 100644 --- a/src/components/TextInput/PasswordTextInput.tsx +++ b/src/components/TextInput/PasswordTextInput.tsx @@ -53,7 +53,7 @@ export const PasswordRequirements = ({ password }: { password: string }) => { - = 4} /> + = 8} /> ); diff --git a/src/pages/user/account/register.tsx b/src/pages/user/account/register.tsx index fe6630e5e..039b6f5a0 100644 --- a/src/pages/user/account/register.tsx +++ b/src/pages/user/account/register.tsx @@ -152,7 +152,7 @@ const Register: NextPage = () => { autoComplete="new-password" {...register('password', { required: true, - minLength: 4, + minLength: 8, validate: passwordValidators, })} /> diff --git a/src/pages/user/account/verify/reset-password/[[...verifyToken]].tsx b/src/pages/user/account/verify/reset-password/[[...verifyToken]].tsx index 13aa8bac7..3d11f91b2 100644 --- a/src/pages/user/account/verify/reset-password/[[...verifyToken]].tsx +++ b/src/pages/user/account/verify/reset-password/[[...verifyToken]].tsx @@ -35,7 +35,7 @@ const ResetPasswordPage: NextPage = () => { const { ref, ...passwordProps } = register('password', { required: true, validate: passwordValidators, - minLength: 4, + minLength: 8, }); useEffect(() => { diff --git a/src/pages/user/settings/password.tsx b/src/pages/user/settings/password.tsx index c25e9eda0..e94bd8802 100644 --- a/src/pages/user/settings/password.tsx +++ b/src/pages/user/settings/password.tsx @@ -64,7 +64,7 @@ const ChangePasswordPage = () => { autoComplete="new-password" {...register('password', { required: true, - minLength: 4, + minLength: 8, validate: passwordValidators, })} />