Closed Anthony-Hopkins-star closed 1 year ago
@synox with your latest changes, should this have been fixed already ?
yes
@synox I don't see the redirect happening to the /pages/profile after login in the main branch like it's happening in the zemax live site(zemax.com).
@kunwarsaluja Ah, I only fixed it for the case where you initiate it from https://main--zemax--hlxsites.hlx.page/pages/profile.
Changing https://github.com/hlxsites/zemax/blob/25899093da400365bb82abf9e7edaa2245e95a92/blocks/header/header.js#L270-L274 to always return the profile url should fix it. @kunwarsaluja can you try this?
After logging in, the user should be redirected back to the profile page.