Skip to content

Conversation

@indykoning
Copy link
Member

This happens due to the oldEmail check added for login-as-customer.
When a customer opens a new tab oldEmail is null so it triggers the login functions again even though the customer is already logged in.

Localstorage should be fine now, since we trigger a refresh of it's data upon opening a new tab or re-opening your browser.

@indykoning indykoning requested a review from royduin as a code owner November 4, 2025 16:04
@royduin
Copy link
Member

royduin commented Nov 5, 2025

Does this impact the Ligthhouse score?

@indykoning
Copy link
Member Author

It should not have any impact on lighthouse scores as user being sessionstorage would already trigger the refresh on load

@royduin
Copy link
Member

royduin commented Nov 18, 2025

We need this on 4.x and 5.x right?

@royduin
Copy link
Member

royduin commented Dec 12, 2025

Please double check this one @indykoning 😇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants