Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added user context whenever possible #133

Merged
merged 12 commits into from
Nov 6, 2024
Merged

Conversation

indykoning
Copy link
Member

Summary
Currently we're only setting customer data on logs when a customer has an active session.
This misses out on headless and admin errors, as well as customer data on exceptions.

Result
This PR attempts to add the user type and user id with the usercontext.
Then it will attempt to get user data from the admin and user session itself

@indykoning
Copy link
Member Author

indykoning commented Mar 29, 2024

For some reason the admin gets forced to log out when the console is open in chrome
This happens when interacting with the admin session in ANY way, getData, isLoggedIn, hasUser

@indykoning indykoning marked this pull request as draft March 29, 2024 08:55
@indykoning indykoning marked this pull request as ready for review June 6, 2024 13:09
@indykoning indykoning changed the title Add user context whenever possible Added user context whenever possible Nov 6, 2024
@indykoning indykoning merged commit e7015f5 into master Nov 6, 2024
4 checks passed
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.

4 participants