| Server IP : 213.186.33.4 / Your IP : 216.73.216.193 Web Server : Apache System : Linux webm006.cluster103.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : awebpaca ( 35430) PHP Version : 8.5.0 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/a/w/e/awebpaca/Dolibarr/htdocs/core/modules/security/generate/ |
Upload File : |
README (english) ------------------------------------ Adding your own password generator module ------------------------------------ If you want to add your own password generator module. This is steps to follow to add your own password generator: ***** STEP 1 ***** Copy file htdocs/core/modules/security/generate/modGeneratePassNone.class.php into htdocs/core/modules/security/generate/modGeneratePassMygenerator.class.php You can choose value of your choice instead of "Mygenerator" in name of new file. ***** STEP 2 ***** Edit this file modGeneratePassMygenerator.class.php and change following text: "class modGeneratePassNone" into "class modGeneratePassMygenerator" Then add code inside the "getDecription" function. Then add code inside the "getExample" function. Then add code inside the "getNewGeneratedPassword" function. Then add code inside the "validatePassword" function. ***** STEP 3 ***** Once this file has been edited, you can go to the Dolibarr security setup, choose tab "passwords", you will see a new line generator in the "Rules to generate passwords" area.