Closed bernarddelhez closed 2 years ago
Hey @bernarddelhez thanks for raising the issue. And thanks for your first issue in this repo :)
Mind providing a PR to fix it? Would be fine for me if the next major release would only be compatible with Magento 2.4. That would reduce maintenance effort.
You are right both Magento versions are affected as we did not find the time to upgrade the module to work with 2.4. Might "just" be the Composer issue, could potentially be more to fix.
@shochdoerfer here is the PR https://github.com/bitExpert/magento2-force-login/pull/191
even if you change the dependency issue via composer, on 2.4.0 it says too many redirects. Just a heads up.
@bernarddelhez did you check the comment above against your PR? Did you have the redirect issues that @dmcmillin mentioned?
@arnoudhgz I also had the problem with "too many redirects" and I changed the following config
bin/magento config:set customer/startup/redirect_dashboard 0
This configuration change works on a Magento Commerce 2.4.0 live system.
I did not look deeper in the code to find the reason but it works.
@bernarddelhez we added some fixes to the master, do you mind testing your issue, if everything works fine now or report any new issue occured?
The dev-master version of this module has been made compatible with 2.4.0 - 2.4.4, we'll release a new version in the next few days.
I could not reproduce the "too many redirects" with the dev-master version and Magento 2.4.4. This might have been fixed with #206 or #209.
Preconditions
PHP Version : 7.3.10
Magento Version : 2.4.0
Force Login Module Version : v4.0.2
Third party modules : not relevant for the problem
Steps to reproduce
"magento/product-enterprise-edition": "2.4.0"
composer update
I think there is the same problem for the Magento 2.4.0 Open Source version
Expected result
Actual result