| 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/awebpaca/Dolibarr/htdocs/core/login/ |
Upload File : |
README (English) --------------------------------------------- Description of htdocs/core/login directory --------------------------------------------- This directory contains files that handle the way to validate passwords. If you want to add a new password checker function, just add a file in this directory that follow an example of an already existing files. This file must be called for example : functions_mypasschecker.php Edit the function name to call it: check_user_mypasschecker Change code of this function to return true if couple $usertotest / $passwordtotest is ok for you. Then, you must edit you conf.php file to change the value of $dolibarr_main_authentication parameter to set it to : mypasschecker Once this is done, when you log in to Dolibarr, the function check_user_mypasschecker in this file is called. If the function return true and login exists, login is accepted. See page https://wiki.dolibarr.org/index.php?title=Authentication,_SSO_and_SSL for more information.