Skip to content

Commit

Permalink
correct misspelled keys
Browse files Browse the repository at this point in the history
  • Loading branch information
baudelotphilippe committed Sep 5, 2024
1 parent b6fe66e commit e56a1bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion daikoku/javascript/src/apps/DaikokuHomeApp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ export const ResetPassword = () => {
constraints.required(translate('constraints.required.confirmPassword')),
constraints.oneOf(
[constraints.ref('password')],
translate('constraint.oneof.confirm.password')
translate('constraints.oneof.confirm.password')
),
],
},
Expand Down
4 changes: 2 additions & 2 deletions daikoku/javascript/src/components/backoffice/me/MyProfile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ export const MyProfile = () => {
constraints.required(translate('constraints.required.newPassword')),
constraints.matches(
/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[#$^+=!*()@%&]).{8,1000}$/,
translate('constraint.matches.password')
translate('constraints.matches.password')
),
],
},
Expand All @@ -449,7 +449,7 @@ export const MyProfile = () => {
constraints.required(translate('constraints.required.newPassword')),
constraints.oneOf(
[constraints.ref('newPassword')],
translate('constraint.oneof.confirm.password')
translate('constraints.oneof.confirm.password')
),
],
},
Expand Down

0 comments on commit e56a1bd

Please sign in to comment.