bitExpert / magento2-force-login

Force Customer Login Module for Magento 2
https://marketplace.magento.com/bitexpert-magento2-force-customer-login.html
Apache License 2.0
166 stars 73 forks source link

Module not enabled but redirect to homepage #182

Closed nelero closed 1 year ago

nelero commented 4 years ago

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 : nonexistantmail@nowhere.com password : anything

expected results :

Actual results :

shochdoerfer commented 4 years ago

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

SplendidGoT commented 4 years ago

Same problem here with a clean install on Magento 2.3.2.

der-workfloh commented 4 years ago

@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?

taskula commented 3 years ago

@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.