Fixing login password limits. (#2904)

- Fixes #2886
This commit is contained in:
Dessalines 2025-01-13 20:00:30 -05:00 committed by GitHub
parent bef89e8a31
commit 427fd2325b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -103,8 +103,8 @@ class PasswordInput extends Component<PasswordInputProps, PasswordInputState> {
required={required !== false}
pattern=".+"
title={I18NextService.i18n.t("invalid_password")}
minLength={isNew ? 10 : undefined}
maxLength={isNew ? 60 : undefined}
minLength={10}
maxLength={60}
/>
<button
className="btn btn-outline-dark"