Adding new features to AccountsEntry


#1

One thing I hated about AccountsEntry is that you must specify each by each the extra fields.
Well, I forked and now I implemented two new features:

  1. Auto adding new roles at sign up (of alanning:roles package)

  2. And use a Schema from collection2 to add extra sign up fields.

    Meteor.startup(function(){
    T9n.setLanguage(‘pt’);

    AccountsEntry.config({
    dashboardRoute: ‘/’,
    useSchema: Schema.User,
    addRolesAtSignUp: [‘user’]
    });
    });
    See the pull request at github