[Solved] Create accounts with a seed


Hi guys,

I wanted to create a seed to generate some users for my app.

I user Accounts.createUser({}); to create the user, and then Accounts.addEmail(userId, newEmail, [verified]) to make the email valid without having to send an email.

The user collection contains the created accounts, but I can’t use any of them to login.

I’m I missing something ?

  email: 'email@email.org',
  password: 'password'


Ok, well it was my fault.

The login action wasn’t even called.