From 9cd76faeed3424549ff5dd47ca4278cf7508b8bb Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Sat, 13 Jun 2020 10:24:14 +0200 Subject: [PATCH] LSexample: fix LSpeople userPassword error message --- src/conf/LSobjects/config.LSobjects.LSpeople.php | 2 +- src/lang/fr_FR.UTF8/lang.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/conf/LSobjects/config.LSobjects.LSpeople.php b/src/conf/LSobjects/config.LSobjects.LSpeople.php index fb68f6bf..83eeb666 100644 --- a/src/conf/LSobjects/config.LSobjects.LSpeople.php +++ b/src/conf/LSobjects/config.LSobjects.LSpeople.php @@ -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 :', 'params' => array( 'minLength' => 8, 'maxLength' => 10, diff --git a/src/lang/fr_FR.UTF8/lang.php b/src/lang/fr_FR.UTF8/lang.php index 5bbe7b04..2f134000 100644 --- a/src/lang/fr_FR.UTF8/lang.php +++ b/src/lang/fr_FR.UTF8/lang.php @@ -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 :" => + "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 :", );