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

fix user to userprofile mapping logic #1021

Merged
merged 1 commit into from
Jan 23, 2023
Merged

fix user to userprofile mapping logic #1021

merged 1 commit into from
Jan 23, 2023

Conversation

AtmegaBuzz
Copy link
Collaborator

User Auth api on login was giving user id
which was then used to fetch UserProfile which is a separate model with separate Id
so it was giving a bug cause we were using User model id to fetch UserProfile data

Fix:
I changed the id filtering from UserProfile to UserProfile__user

@fredfalcon fredfalcon merged commit 42a5bd0 into OWASP-BLT:main Jan 23, 2023
DonnieBLT pushed a commit that referenced this pull request Aug 12, 2023
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.

None yet

2 participants