salesagility / SuiteCRM

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

Login not possible after 2FA enabled #10349

Closed ps-ohanel closed 5 months ago

ps-ohanel commented 5 months ago

Enabling 2FA disables user to login

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. Setup some SMTP that will enable you to see the sent emails. I used a free account on https://mailtrap.io/
  4. Create a new user
  5. Turn on 2FA checkbox for the user
  6. Try to login
  7. Mail is sent with the 2FA token
  8. Error is triggered on the login screen

Your Environment

serhiisamko091184 commented 5 months ago

Hi @ps-ohanel,

thanks for raising the issue!

Regards, Serhii

ps-ohanel commented 5 months ago

I think i created the issue in a wrong repo, as it affects version 8.xx SouteCRM-Core issue

serhiisamko091184 commented 5 months ago

Hi @ps-ohanel,

one more time thanks,

closing this one as well.

Regards, Serhii