mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-16 15:33:02 +01:00
LSexample: fix LSpeople userPassword error message
This commit is contained in:
parent
079f39ab4b
commit
9cd76faeed
2 changed files with 3 additions and 3 deletions
|
@ -577,7 +577,7 @@ $GLOBALS['LSobjects']['LSpeople'] = array (
|
||||||
),
|
),
|
||||||
'check_data' => array(
|
'check_data' => array(
|
||||||
'password' => 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(
|
'params' => array(
|
||||||
'minLength' => 8,
|
'minLength' => 8,
|
||||||
'maxLength' => 10,
|
'maxLength' => 10,
|
||||||
|
|
|
@ -286,7 +286,7 @@ Identifiant : %{uid}
|
||||||
Nouveau mot de passe : %{password}",
|
Nouveau mot de passe : %{password}",
|
||||||
|
|
||||||
# LSobjects.LSpeople.attrs.userPassword.check_data.password.msg
|
# LSobjects.LSpeople.attrs.userPassword.check_data.password.msg
|
||||||
"Your password must contain from 8 to 10 characters." =>
|
"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.",
|
"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>",
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue