LSexample: fix LSpeople userPassword error message

This commit is contained in:
Benjamin Renard 2020-06-13 10:24:14 +02:00
parent 079f39ab4b
commit 9cd76faeed
2 changed files with 3 additions and 3 deletions

View file

@ -577,7 +577,7 @@ $GLOBALS['LSobjects']['LSpeople'] = array (
),
'check_data' => array(
'password' => array(
'msg' => 'Your password must contain from 8 to 10 characters.',
'msg' => 'Your password must contain from 8 to 10 characters and contains at least one caracter that match with 3 of this types :<ul><li>Uppercase unaccent character</li><li>Lowercase unaccent character</li><li>Digit</li><li>Anything that is not a letter or a digit</li></ul>',
'params' => array(
'minLength' => 8,
'maxLength' => 10,

View file

@ -286,7 +286,7 @@ Identifiant : %{uid}
Nouveau mot de passe : %{password}",
# LSobjects.LSpeople.attrs.userPassword.check_data.password.msg
"Your password must contain from 8 to 10 characters." =>
"Votre mot de passe doit contenir entre 8 et 10 caractères.",
"Your password must contain from 8 to 10 characters and contains at least one caracter that match with 3 of this types :<ul><li>Uppercase unaccent character</li><li>Lowercase unaccent character</li><li>Digit</li><li>Anything that is not a letter or a digit</li></ul>" =>
"Votre mot de passe doit contenir entre 8 et 10 caractères et comprendre au moins un caractère correspondant à au moins trois des types suivant :<ul><li>Une lettre majuscule sans accent</li><li>Une lettre minuscule sans accent</li><li>Un chiffre</li><li>Un caractère autre qu'une lettre ou un chiffre</li></ul>",
);