26require_once DOL_DOCUMENT_ROOT.
'/core/lib/functions.lib.php';
47 public $position = 50;
52 public $picto =
'generic';
99 return $langs->trans(
"NoDescription");
109 return "SecurityCode";
120 $langs->load(
"bills");
121 return $langs->trans(
"NoExample");
Parent class for password rules/management modules.
validateCodeAfterLoginSubmit()
Validate a captcha This function is called after a log to validate a captcha, before validating a pas...
getDescription()
Return description of module.
getFieldInputTitle()
Return description of module.
getExample()
Return an example of password generated by this module.
isEnabled()
Return if a module can be used or not.
getCaptchaCodeForForm($php_self='')
Return the HTML content to output on a form that need the captcha.