Signups forbidden Error

I had an account, reset the project and now I can’t sign up, it shows the error message, signups forbidden, using accounts-ui.
Thank you

Did you perhaps set forbidClientAccountCreation: true in Accounts.config? See this question on Stackoverflow, or consult the docs for Accounts.config.

I don’t remember setting it, but I set forbidClientAccountCreation: false in lib folder and then this error happened

W20160412-22:55:09.075(3)? (STDERR)
W20160412-22:55:09.075(3)? (STDERR) /Users/alfred/.meteor/packages/meteor-tool/.1.3.1.ixaqzw++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:267
W20160412-22:55:09.075(3)? (STDERR) throw(ex);
W20160412-22:55:09.076(3)? (STDERR) ^
W20160412-22:55:09.186(3)? (STDERR) Error: Can’t set forbidClientAccountCreation more than once
W20160412-22:55:09.187(3)? (STDERR) at packages/accounts-base/accounts_common.js:134:17
W20160412-22:55:09.187(3)? (STDERR) at Function..each..forEach (packages/underscore.js:142:22)
W20160412-22:55:09.187(3)? (STDERR) at AccountsServer.config (packages/accounts-base/accounts_common.js:131:7)
W20160412-22:55:09.187(3)? (STDERR) at AccountsServer.Ap.config (packages/accounts-base/accounts_server.js:1114:53)
W20160412-22:55:09.188(3)? (STDERR) at meteorInstall.lib.users.js (lib/users.js:25:10)
W20160412-22:55:09.188(3)? (STDERR) at fileEvaluate (packages/modules-runtime.js:158:9)
W20160412-22:55:09.188(3)? (STDERR) at require (packages/modules-runtime.js:92:16)
W20160412-22:55:09.188(3)? (STDERR) at /Users/alfred/Dropbox/Alfie/code/Work/barbaralee/.meteor/local/build/programs/server/app/app.js:859:1
W20160412-22:55:09.189(3)? (STDERR) at /Users/alfred/Dropbox/Alfie/code/Work/barbaralee/.meteor/local/build/programs/server/boot.js:283:10
W20160412-22:55:09.189(3)? (STDERR) at Array.forEach (native)
W20160412-22:55:09.189(3)? (STDERR) at Function..each..forEach (/Users/alfred/.meteor/packages/meteor-tool/.1.3.1.ixaqzw++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/underscore/underscore.js:79:11)
W20160412-22:55:09.189(3)? (STDERR) at /Users/alfred/Dropbox/Alfie/code/Work/barbaralee/.meteor/local/build/programs/server/boot.js:133:5
=> Exited with code: 8
=> Your application is crashing. Waiting for file change.

When you reset the project it wiped your local database, so you need to create a new user account. Signups forbidden error is actually quite misleading, because it is also shown for eg. when user password is wrong.

How to create a new user account without using the signup form?

Either you or some package you are using is already setting forbidClientAccountCreation. What packages are you using? You could grep for “forbidClientAccountCreation” in your project folder and the package folder to find out which one it is.

Searched the project and in .meteor/local/build/programs/server/packages/useraccounts_core.js line 1123 there was the config, commented it out and all is good now,
thanks.
N it being a core package I guess, will there not be anything broken? I don’t think I added that

That is not a core package in Meteor, it’s a community package called useraccounts:core, which seems to disable client side user account creation by default. It has pretty good documentation. It seems that for this package you should use AccountsTemplates.config instead of Accounts.config. Maybe you should give that a try.

Okey, reverted the changes I’d made and followed the official documentation, works perfectly.
Thank you