mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-22 04:11:12 +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}
|
onInput={onInput}
|
||||||
value={value}
|
value={value}
|
||||||
required
|
required
|
||||||
pattern=".{10,60}"
|
pattern=".+"
|
||||||
title={I18NextService.i18n.t("invalid_password")}
|
title={I18NextService.i18n.t("invalid_password")}
|
||||||
|
minLength={isNew ? 10 : undefined}
|
||||||
|
maxLength={isNew ? 60 : undefined}
|
||||||
/>
|
/>
|
||||||
<button
|
<button
|
||||||
className="btn btn-outline-dark"
|
className="btn btn-outline-dark"
|
||||||
|
|
Loading…
Reference in a new issue