Fix help on minimum nb of chars
This commit is contained in:
parent
7cc75ac873
commit
e123a4cb84
@ -81,8 +81,8 @@ class modGeneratePassPerso extends ModeleGenPassword
|
||||
$this->user = $user;
|
||||
|
||||
if (empty($conf->global->USER_PASSWORD_PATTERN)) {
|
||||
// default value (8carac, 1maj, 1digit, 1spe, 3 repeat, no ambi at auto generation.
|
||||
dolibarr_set_const($db, "USER_PASSWORD_PATTERN", '8;1;1;1;3;1', 'chaine', 0, '', $conf->entity);
|
||||
// default value (10carac, 1maj, 1digit, 1spe, 3 repeat, no ambi at auto generation.
|
||||
dolibarr_set_const($db, "USER_PASSWORD_PATTERN", '10;1;1;1;3;1', 'chaine', 0, '', $conf->entity);
|
||||
}
|
||||
|
||||
$this->Maj = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
|
||||
|
||||
@ -75,7 +75,7 @@ class modGeneratePassStandard extends ModeleGenPassword
|
||||
public function getDescription()
|
||||
{
|
||||
global $langs;
|
||||
return $langs->trans("PasswordGenerationStandard");
|
||||
return $langs->trans("PasswordGenerationStandard", $this->length);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@ -1309,7 +1309,7 @@ GetBarCode=Get barcode
|
||||
NumberingModules=Numbering models
|
||||
DocumentModules=Document models
|
||||
##### Module password generation
|
||||
PasswordGenerationStandard=Return a password generated according to internal Dolibarr algorithm: 8 characters containing shared numbers and characters in lowercase.
|
||||
PasswordGenerationStandard=Return a password generated according to internal Dolibarr algorithm: %s characters containing shared numbers and characters in lowercase.
|
||||
PasswordGenerationNone=Do not suggest a generated password. Password must be typed in manually.
|
||||
PasswordGenerationPerso=Return a password according to your personally defined configuration.
|
||||
SetupPerso=According to your configuration
|
||||
|
||||
Loading…
Reference in New Issue
Block a user