README.txt 889 B

1234567891011121314151617181920212223242526
  1. README (english)
  2. ---------------------------------------------
  3. Decription of htdocs/core/login directory
  4. ---------------------------------------------
  5. This directory contains files that handle way to validate passwords.
  6. If you want to add a new password checker function, just add a file in
  7. this directory that follow example of already existing files.
  8. This file must be called for example :
  9. functions_mypasschecker.php
  10. Edit function name to call it:
  11. check_user_mypasschecker
  12. Change code of this function to return true if couple
  13. $usertotest / $passwordtotest is ok for you.
  14. Then, you must edit you conf.php file to change the value of
  15. $dolibarr_main_authentication
  16. parameter to set it to :
  17. mypasschecker
  18. Once this is done, when you log in to Dolibarr, the function
  19. check_user_mypasschecker in this file is called.
  20. If the function return true and login exists, login is accepted.