README.txt 1011 B

1234567891011121314151617181920212223242526272829
  1. README (english)
  2. ---------------------------------------------
  3. Decription of htdocs/core/login directory
  4. ---------------------------------------------
  5. This directory contains files that handle the way to validate passwords.
  6. 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.
  7. This file must be called for example :
  8. functions_mypasschecker.php
  9. Edit the function name to call it:
  10. check_user_mypasschecker
  11. Change code of this function to return true if couple $usertotest / $passwordtotest is ok for you.
  12. Then, you must edit you conf.php file to change the value of
  13. $dolibarr_main_authentication
  14. parameter to set it to :
  15. mypasschecker
  16. Once this is done, when you log in to Dolibarr, the function
  17. check_user_mypasschecker in this file is called.
  18. If the function return true and login exists, login is accepted.
  19. See page https://wiki.dolibarr.org/index.php?title=Authentication,_SSO_and_SSL for more information.