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

Reload authenticated user after potential creation #28

Merged
merged 4 commits into from
Jan 9, 2025

Conversation

corneliouzbett
Copy link
Member

This PR adds a line to reload user after protential creation to ensure user or Context.getAuthenticatedUser() is never null

@corneliouzbett corneliouzbett requested a review from wluyima January 9, 2025 08:46
@wluyima
Copy link
Member

wluyima commented Jan 9, 2025

Looks good, only that it is missing unit tests.

@corneliouzbett corneliouzbett merged commit d914c9d into master Jan 9, 2025
1 check passed
@corneliouzbett corneliouzbett deleted the fix-null-user branch January 9, 2025 14:54
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.

2 participants