Skip to content

Commit 534ec69

Browse files
Fix validation.
1 parent f3efc42 commit 534ec69

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/src/app/pages/system-users/SystemUserDialog.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ const FormSchema = Yup.object({
2222
email: Yup.string()
2323
.label(texts.common.email).requiredI18n().emailI18n(),
2424

25-
// The mode (template or formatted).
26-
passwordCompare: Yup.string()
25+
// The password to confirm.
26+
passwordConfirm: Yup.string()
2727
.label(texts.common.passwordConfirm).oneOf([Yup.ref('password'), '', undefined], texts.common.passwordsDoNotMatch),
2828
});
2929

0 commit comments

Comments
 (0)