Error: Username already exists [403] Meteor -
i have manually created user on meteor app accounts.createuser , have disabled sign ups user. worked until restarted server , started getting error:
error: username exists. [403]
i have accounts.createuser under if (meteor.isserver), suspect created user may issue. thoughts?
you're running accounts.createuser
every time run app.
try doing this, create user if there none in collection.
if(meteor.isserver) { if(!meteor.users.findone()) { accounts.createuser(....) } }
Comments
Post a Comment