Skip to content

Commit

Permalink
Update packages/esm-system-admin-app/src/change-password-modal/change…
Browse files Browse the repository at this point in the history
…-password-modal.component.tsx

Co-authored-by: Dennis Kigen <[email protected]>
  • Loading branch information
jnsereko and denniskigen authored Feb 6, 2024
1 parent 31a16d5 commit 12e1898
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export default function ChangePasswordModal({ close }: ChangePasswordModalProps)
} else if (!lowercasePassword) {
errMsg = t('atLeastOneLowercaseLetterRequired', 'Your password must contain at least one lowercase letter (a-z)');

Check failure on line 49 in packages/esm-system-admin-app/src/change-password-modal/change-password-modal.component.tsx

View workflow job for this annotation

GitHub Actions / build

Replace `'atLeastOneLowercaseLetterRequired',·'Your·password·must·contain·at·least·one·lowercase·letter·(a-z)'` with `⏎············'atLeastOneLowercaseLetterRequired',⏎············'Your·password·must·contain·at·least·one·lowercase·letter·(a-z)',⏎··········`
} else if (!digitsPassword) {
errMsg = t('atLeastOneDigit', 'At least one digit');
errMsg = t('atLeastOneNumberRequired', 'Your password must include at least one number (0-9).');
} else if (!minLengthPassword) {
errMsg = t('minimum8Characters', 'Minimum 8 characters');
} else if (passwordInput.oldPassword.length > 0 && passwordInput.newPassword === passwordInput.oldPassword) {
Expand Down

0 comments on commit 12e1898

Please sign in to comment.