mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-21 14:17:11 +00:00
Remove min and max length from password input when using login form (#2643)
This commit is contained in:
parent
e09127467c
commit
66277e6ece
|
@ -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