mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-20 14:54:15 +01:00
(Bug) Invalid password length verification
This commit is contained in:
commit
428867bb6d
@ -8,6 +8,7 @@
|
||||
- Fix a bug: wrong variable reference in `SingleSignOnConcern:Merge_form_sso`
|
||||
- Fix a bug: wrong focus behavior on text editor
|
||||
- Fix a bug: trainings monitoring is not available
|
||||
- Fix a bug: invalid password length verification in profile edtion form
|
||||
|
||||
## v5.4.15 2022 August 1
|
||||
|
||||
|
@ -23,7 +23,7 @@ export const PasswordInput = <TFieldValues extends FieldValues>({ register, curr
|
||||
rules={{
|
||||
required: true,
|
||||
validate: (value: string) => {
|
||||
if (value.length < 8) {
|
||||
if (value.length < 12) {
|
||||
return t('app.shared.password_input.password_too_short') as string;
|
||||
}
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user