Skip to content

Commit 2fea1a5

Browse files
committed
fix: don't enforce password lenght for sign in form because of LDAP
1 parent c89ca7e commit 2fea1a5

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

frontend/src/components/auth/SignInForm.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,7 @@ const SignInForm = ({ redirectPath }: { redirectPath: string }) => {
8181

8282
const validationSchema = yup.object().shape({
8383
emailOrUsername: yup.string().required(t("common.error.field-required")),
84-
password: yup
85-
.string()
86-
.min(8, t("common.error.too-short", { length: 8 }))
87-
.required(t("common.error.field-required")),
84+
password: yup.string().required(t("common.error.field-required")),
8885
});
8986

9087
const form = useForm({

0 commit comments

Comments
 (0)