Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Password Expired after N logins not working #433

Closed
ps-ohanel opened this issue Feb 7, 2024 · 0 comments
Closed

Password Expired after N logins not working #433

ps-ohanel opened this issue Feb 7, 2024 · 0 comments
Labels
Priority:Important Issues & PRs that are important; broken functions; errors; there are workarounds Status: Team Investigating Labels for issues in which the Core Team are investigating / Intend to Investigate Type: Bug Something isn't working

Comments

@ps-ohanel
Copy link

Setting up expire password after N logins does not work

  • when the password generation is enabled, the initial password is correctly sent to user ✅
  • when enabling the option to expire password after N logins, it has no effect. User can login as many times as possible ❌

Expected Behavior

  • the user is prompted to enter a new password when N logins happen

Actual Behavior

  • the user can login with his initial password forever

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

@gemartin21 gemartin21 added Type: Bug Something isn't working Status: Team Investigating Labels for issues in which the Core Team are investigating / Intend to Investigate Priority:Important Issues & PRs that are important; broken functions; errors; there are workarounds labels Feb 13, 2024
jack7anderson7 added a commit that referenced this issue Apr 3, 2024
jack7anderson7 added a commit that referenced this issue Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority:Important Issues & PRs that are important; broken functions; errors; there are workarounds Status: Team Investigating Labels for issues in which the Core Team are investigating / Intend to Investigate Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants