Skip to content

Commit

Permalink
Fix validation.
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianStehle committed May 22, 2024
1 parent f3efc42 commit 534ec69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/app/pages/system-users/SystemUserDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ const FormSchema = Yup.object({
email: Yup.string()
.label(texts.common.email).requiredI18n().emailI18n(),

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

Expand Down

0 comments on commit 534ec69

Please sign in to comment.