diff --git a/src/shared/components/common/password-input.tsx b/src/shared/components/common/password-input.tsx index 518cacb6..62fc2f29 100644 --- a/src/shared/components/common/password-input.tsx +++ b/src/shared/components/common/password-input.tsx @@ -99,8 +99,10 @@ class PasswordInput extends Component { onInput={onInput} value={value} required - pattern=".{10,60}" + pattern=".+" title={I18NextService.i18n.t("invalid_password")} + minLength={isNew ? 10 : undefined} + maxLength={isNew ? 60 : undefined} />