In admin part of my Meteor app, I want to call Account.CreateUser(..) for a 'PowerUser' with USERNAME_AND_OPTIONAL_EMAIL (or EMAIL_ONLY) and then sendVerificationEmail, this works great...
Accounts.config(sendVerificationEmail: true);
but next I also want to call Account.CreateUser(..) for a 'LocalUser' with USERNAME_ONLY and not sendVerificationEmail because local user account does not require e-mail.
Accounts.config(sendVerificationEmail: false);
My problem is "Error: Can't set sendVerificationEmail
more than once" when I call Accounts.config the second time.