@thomas0 It's worth digging into the code a little bit, more understanding will help when (or if.. ) things go wrong. Just as an example, here's what a typical user object looks like in NodeBB:
{ "_id" : ObjectId("5aa26e9218d8783123dcb189"), "_key" : "user:1", "username" : "MyUsername", "userslug" : "myusername", "email" : "[email protected]", "joindate" : 1520594578043, "lastonline" : 1520602862371, "picture" : "", "fullname" : "", "location" : "", "birthday" : "", "website" : "", "signature" : "", "uploadedpicture" : "", "profileviews" : 0, "reputation" : 0, "postcount" : 1, "topiccount" : 1, "lastposttime" : 1520594579361, "banned" : 0, "status" : "online", "uid" : 1, "password" : "$2a$12$SnwLqMV2.g8ADjLEV.2tK.hGGD1o85rm4Tb/aj2twrTuU5BewqMCW", "passwordExpiry" : 0, "groupTitle" : "administrators", "rss_token" : "2e3df2a7-f579-431f-b5ad-fgh52b995b1c" }
(Just making the point you'd have to create all that extra data too, that the write-api plugin would do for you).
Actually, it's more than I thought. See this list from @PitaJ
This is a probably incomplete list of what needs to be done on user creation: get nextUid create userslug make sure userslug is unique increment uid save al...
NodeBB Community (community.nodebb.org)