Restricting users signup to a particular domain in meteor.js

If you want to restrict the user registration to a particular domain only, say for e.g.: codingarena.in, then you can do the same by adding the following code:

Accounts.config({restrictCreationByEmailDomain:'codingarena.in'});