25require_once DOL_DOCUMENT_ROOT.
'/core/modules/security/generate/modules_genpassword.php';
38 public $picto =
'fa-keyboard';
80 $this->langs = $langs;
92 return $langs->trans(
"PasswordGenerationNone");
102 return $this->langs->trans(
"None");
Parent class for password rules/management modules.
Class to generate a password according to rule 'no password'.
__construct($db, $conf, $langs, $user)
Constructor.
getExample()
Return an example of password generated by this module.
validatePassword($password)
Validate a password.
getDescription()
Return description of module.
getNewGeneratedPassword()
Build new password.
conf($dolibarr_main_document_root)
Load conf file (file must exists)