Skip to content

Commit

Permalink
password copy
Browse files Browse the repository at this point in the history
  • Loading branch information
thisisamir98 committed Jul 25, 2023
1 parent a2835f5 commit 2f6c9d7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/i18n/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -850,7 +850,7 @@
"modalGuestLinkJoinConfirmPlaceholder": "Confirm your password",
"modalGuestLinkJoinLabel": "Set password",
"modalGuestLinkJoinConfirmLabel": "Confirm password",
"modalGuestLinkJoinHelperText": "Must have at least one: uppercase letter, lowercase letter, number, symbol",
"modalGuestLinkJoinHelperText": "Use at least {{minPasswordLength}} characters, with one lowercase letter, one capital letter, a number, and a special character.",
"modalConversationJoinConfirm": "Join",
"modalConversationJoinFullHeadline": "You could not join the conversation",
"modalConversationJoinFullMessage": "The conversation is full.",
Expand Down
4 changes: 3 additions & 1 deletion src/script/components/Modals/PrimaryModal/PrimaryModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,9 @@ export const PrimaryModalComponent: FC = () => {
wrapperCSS={guestLinkPasswordInputStyles}
placeholder={t('modalGuestLinkJoinPlaceholder')}
label={t('modalGuestLinkJoinLabel')}
helperText={t('modalGuestLinkJoinHelperText')}
helperText={t('modalGuestLinkJoinHelperText', {
minPasswordLength: Config.getConfig().MINIMUM_PASSWORD_LENGTH.toString(),
})}
id="modal_pswd_confiramtion"
className="modal__input"
type="password"
Expand Down

0 comments on commit 2f6c9d7

Please sign in to comment.