mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-12-22 19:01:26 +00:00
Remove min and max length from password input when using login form (#2643)
This commit is contained in:
parent
e09127467c
commit
66277e6ece
1 changed files with 3 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue