From 534ec69c09039bd5808641d17b378c0a627a3244 Mon Sep 17 00:00:00 2001 From: Sebastian Stehle Date: Wed, 22 May 2024 12:27:13 +0200 Subject: [PATCH] Fix validation. --- frontend/src/app/pages/system-users/SystemUserDialog.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/app/pages/system-users/SystemUserDialog.tsx b/frontend/src/app/pages/system-users/SystemUserDialog.tsx index 4631964e..fb125aae 100644 --- a/frontend/src/app/pages/system-users/SystemUserDialog.tsx +++ b/frontend/src/app/pages/system-users/SystemUserDialog.tsx @@ -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), });