Skip to content

Commit

Permalink
Remove min and max length from password input when using login form (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
SleeplessOne1917 authored Jul 30, 2024
1 parent e091274 commit 66277e6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/shared/components/common/password-input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,10 @@ class PasswordInput extends Component<PasswordInputProps, PasswordInputState> {
onInput={onInput}
value={value}
required
pattern=".{10,60}"
pattern=".+"
title={I18NextService.i18n.t("invalid_password")}
minLength={isNew ? 10 : undefined}
maxLength={isNew ? 60 : undefined}
/>
<button
className="btn btn-outline-dark"
Expand Down

0 comments on commit 66277e6

Please sign in to comment.