Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
server/auth: prioritize customer session over web session
We found out that users were troubled by the fact that their own customer portal was showing up instead of the one tied to the customer session token that was present in the URL. With this change, if the backend finds a valid customer session token, it uses it instead of the web cookie session, correctly showing the customer we're trying to see instead of the authenticated user.
- Loading branch information