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