forked from Wavyzz/dolibarr
NEW Add picto property on sub-module for paswword generation
This commit is contained in:
@@ -35,6 +35,8 @@ class modGeneratePassNone extends ModeleGenPassword
|
||||
*/
|
||||
public $id;
|
||||
|
||||
public $picto = 'fa-keyboard';
|
||||
|
||||
/**
|
||||
* Minimum length (text visible by end user)
|
||||
*
|
||||
|
||||
@@ -37,6 +37,8 @@ class modGeneratePassPerso extends ModeleGenPassword
|
||||
*/
|
||||
public $id;
|
||||
|
||||
public $picto = 'fa-shield-alt';
|
||||
|
||||
/**
|
||||
* Minimum length (text visible by end user)
|
||||
*
|
||||
|
||||
@@ -35,6 +35,8 @@ class modGeneratePassStandard extends ModeleGenPassword
|
||||
*/
|
||||
public $id;
|
||||
|
||||
public $picto = 'fa-shield-alt';
|
||||
|
||||
/**
|
||||
* Minimum length (text visible by end user)
|
||||
*
|
||||
|
||||
@@ -29,6 +29,8 @@ require_once DOL_DOCUMENT_ROOT.'/core/lib/functions.lib.php';
|
||||
*/
|
||||
abstract class ModeleGenPassword
|
||||
{
|
||||
public $picto = 'generic';
|
||||
|
||||
/**
|
||||
* Flag to 1 if we must clean ambiguous charaters for the autogeneration of password (List of ambiguous char is in $this->Ambi)
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user