Hello @all,
I have a very simple question … How to disable the Accounts.createUser() on client?
Hello @all,
I have a very simple question … How to disable the Accounts.createUser() on client?
http://docs.meteor.com/#/full/accounts_config
So it would look like:
Accounts.config({
forbidClientAccountCreation: true
});
Note that this code needs to be on the server.
Sashko, thank you very much.
thanks, actually needs to be loaded on server & client (/both directory) for it to to update the ui properly