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 get_current_user when SKIP_AUTH is used #34

Merged
merged 1 commit into from
Jun 17, 2022

Conversation

LaikaN57
Copy link
Member

When using SKIP_AUTH we tried to return None for the username, however, the DB schema expects the owner field to be not null. A quick way to resolve this is to just return an "anonymous" user/owner.

@LaikaN57 LaikaN57 merged commit 4bf0559 into main Jun 17, 2022
@LaikaN57 LaikaN57 deleted the akennedy/20220617-fix-skip-auth-user branch June 17, 2022 15:07
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.

1 participant