The [data-mz-action="loginpage-submit"] binding in product.js is initialized as new SignupPopover() instead of new LoginPopover(), which causes it to go down a wierd code path that doesn't trigger a proper redirect to the myaccount view.
https://github.com/Mozu/core-theme/blob/master/scripts/modules/login-links.js#L316-L317
The second part to this is changing the handleLoginComplete method to check for the redirectTemplate so that we can redirect the user as needed.
My changes to fix this can be seen in this commit on my personal theme: bmcminn/mozu-demo-theme@16419b4?w=0
The
[data-mz-action="loginpage-submit"]binding inproduct.jsis initialized asnew SignupPopover()instead ofnew LoginPopover(), which causes it to go down a wierd code path that doesn't trigger a proper redirect to the myaccount view.https://github.com/Mozu/core-theme/blob/master/scripts/modules/login-links.js#L316-L317
The second part to this is changing the
handleLoginCompletemethod to check for theredirectTemplateso that we can redirect the user as needed.My changes to fix this can be seen in this commit on my personal theme: bmcminn/mozu-demo-theme@16419b4?w=0