2 deleted 4 characters in body
source | link

I create a login popup template, only extending the phtml fileonly extending the phtml file and moving the xml block in my popup panel. It works fine, but when the user make some error (e.g. wrong the password) I want to redirect on the home page and open the panel with the error message.

I don't know how to do this, because by default magento redirect the user on customer login page.

Thanks

I create a login popup template, only extending the phtml file and moving the xml block in my popup panel. It works fine, but when the user make some error (e.g. wrong the password) I want to redirect on the home page and open the panel with the error message.

I don't know how to do this, because by default magento redirect the user on customer login page.

Thanks

I create a login popup template, only extending the phtml file and moving the xml block in my popup panel. It works fine, but when the user make some error (e.g. wrong the password) I want to redirect on the home page and open the panel with the error message.

I don't know how to do this, because by default magento redirect the user on customer login page.

1
source | link

Magento 2 - Redirect to home page when error on login post

I create a login popup template, only extending the phtml file and moving the xml block in my popup panel. It works fine, but when the user make some error (e.g. wrong the password) I want to redirect on the home page and open the panel with the error message.

I don't know how to do this, because by default magento redirect the user on customer login page.

Thanks