magento2-force-login icon indicating copy to clipboard operation
magento2-force-login copied to clipboard

Module not enabled but redirect to homepage

Open nelero opened this issue 4 years ago • 4 comments

If we choose enabled NO on admin, having errors login in redirect visitor to homepage instead of staying on customer/account/login page

Steps to reproduce : enable module via SSH choose NO on backend config for enabled option going to /customer/account/login email : [email protected] password : anything

expected results :

  • error message on customer/account/login

Actual results :

  • visitor is redirected to homepage and error message appears here.

nelero avatar Mar 22 '20 17:03 nelero

@nelero thanks for reporting this issue. Any chance you could provide a PR to fix this issue?

shochdoerfer avatar Apr 14 '20 14:04 shochdoerfer

Same problem here with a clean install on Magento 2.3.2.

SplendidGoT avatar Jun 19 '20 14:06 SplendidGoT

@nelero @SplendidGoT we added some fixes to the master, do you mind testing your issue, if everything works fine now or report any new issue occured?

websharp avatar Oct 21 '20 08:10 websharp

@nelero @SplendidGoT 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 issue still stands. I noticed this in 3.1.0 and updated to 4.1.0 and the issue is still there. If you disable the plugin altogether, everything works as expected.

Additionally, if your login is successful, your customers will always get redirected to the store main page which is bad if you want to redirect your customers back to the page they clicked login at.

taskula avatar Mar 05 '21 18:03 taskula