From ef333ddcabeaf432cb6badea57eb724f775dbd3c Mon Sep 17 00:00:00 2001 From: Tim Hostetler <6970899+thostetler@users.noreply.github.com> Date: Tue, 10 Feb 2026 12:03:04 -0500 Subject: [PATCH] feat(auth): SCIX-828 set password minimum length to 8 --- src/components/TextInput/PasswordTextInput.tsx | 2 +- src/pages/user/account/register.tsx | 2 +- .../user/account/verify/reset-password/[[...verifyToken]].tsx | 2 +- src/pages/user/settings/password.tsx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) 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, })} />