salesagility / SuiteCRM

SuiteCRM - Open source CRM for the world
https://www.suitecrm.com
GNU Affero General Public License v3.0
4.44k stars 2.07k forks source link

Password Expired after N logins not working #10348

Closed ps-ohanel closed 8 months ago

ps-ohanel commented 8 months ago

Setting up expire password after N logins does not work

Expected Behavior

Actual Behavior

Steps to Reproduce

  1. Instantiate docker setup for easy local dev: GitHub - jontitmus-code/SuiteCRM8_docker: SuiteCRM Docker Compose Script
    • extend docker-compose.yml with those two lines to override all the php.ini files
    • ./docker/config/php/php.ini:/etc/php/7.4/fpm/php.ini
    • ./docker/config/php/php.ini:/etc/php/7.4/cli/php.ini
  2. Make a new installation of: SuteCRM Version 8.5.0
  3. Turn on the "Auto generate password feature"
  4. Set that the password expires after 1 logins
  5. Setup some SMTP that will enable you to see the sent emails. I used a free account on https://mailtrap.io/
  6. Create a new user
  7. Email with the initial password should be sent
  8. Login with the new user
  9. Logout
  10. Login again, repeat several times
  11. Password never expires

Your Environment

ps-ohanel commented 8 months ago

I've re-created the issue in the correct SuiteCRM-Core repo as it affects the version 8.xx

serhiisamko091184 commented 8 months ago

Hi @ps-ohanel,

thanks for raising the issue and moving it to the appropriate repo. I close this one.

Many thanks!

Regards, Serhii