1
0
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:
Sylvain 2022-08-23 16:40:15 +02:00
commit 428867bb6d
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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;