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] Move the set Avatar call on user creation to make sure the user has username #14665

Merged
merged 1 commit into from
Jun 14, 2019

Conversation

MarcosSpessatto
Copy link
Contributor

@MarcosSpessatto MarcosSpessatto commented May 28, 2019

Closes #14637
Closes #14755
We must the username property to be able to set the user avatar. Otherwise we'll get an error for trying to set the avatar name to undefined.
Previously this worked due to the fact that MongoDB accept undefined fields, behavior removed in this PR.

@sampaiodiego sampaiodiego merged commit e366e0b into develop Jun 14, 2019
@sampaiodiego sampaiodiego deleted the fix-set-avatar-on-user-creation branch June 14, 2019 05:04
@sampaiodiego sampaiodiego mentioned this pull request Jun 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

mongodb exception in callback $set empty "OAuth" I'm having trouble logging in for the first time.
3 participants