2
0
forked from Wavyzz/dolibarr

NEW Add picto property on sub-module for paswword generation

This commit is contained in:
Laurent Destailleur
2022-09-11 12:18:43 +02:00
parent cc4bb9b40f
commit 2293d82607
8 changed files with 62 additions and 11 deletions

View File

@@ -35,6 +35,8 @@ class modGeneratePassNone extends ModeleGenPassword
*/
public $id;
public $picto = 'fa-keyboard';
/**
* Minimum length (text visible by end user)
*

View File

@@ -37,6 +37,8 @@ class modGeneratePassPerso extends ModeleGenPassword
*/
public $id;
public $picto = 'fa-shield-alt';
/**
* Minimum length (text visible by end user)
*

View File

@@ -35,6 +35,8 @@ class modGeneratePassStandard extends ModeleGenPassword
*/
public $id;
public $picto = 'fa-shield-alt';
/**
* Minimum length (text visible by end user)
*

View File

@@ -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)
*