You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi all,
Not sure if my setup is incorrect or if this is really the case, but it appears as though the picture property in the supplied user data isn't used anywhere. When I set the value, I didn't see a new user's picture/avatar being set to what I provided, so I dug into the code and it looks like the NodeBB core doesn't read the picture value passed into the data object of User.create:
I'd also like the ability to set things like the location, website and joindate because I have these values for a lot of users on my primary login's account system already.
Would it make sense to edit the plugin to allow these values in the payload and then after the create call, update the profile with whatever other values we have available? The concept would be similar to @Gacnt's pull request, but would occur during user creation instead.
The text was updated successfully, but these errors were encountered:
Hi all,
Not sure if my setup is incorrect or if this is really the case, but it appears as though the
picture
property in the supplied user data isn't used anywhere. When I set the value, I didn't see a new user's picture/avatar being set to what I provided, so I dug into the code and it looks like the NodeBB core doesn't read thepicture
value passed into thedata
object ofUser.create
:I'd also like the ability to set things like the
location
,website
andjoindate
because I have these values for a lot of users on my primary login's account system already.Would it make sense to edit the plugin to allow these values in the payload and then after the create call, update the profile with whatever other values we have available? The concept would be similar to @Gacnt's pull request, but would occur during user creation instead.
The text was updated successfully, but these errors were encountered: