brettle/meteor-accounts-add-service

Exception in onLogin callback: Error: When the modifier option is true, validation object must have at least one operator

nickredmark opened this issue · 0 comments

Hey there, great package!

This is a comment for people who run into the same issue.
I'm using this in combination with https://github.com/aldeed/meteor-collection2
When logging in I got this error:

Exception in onLogin callback: Error: When the modifier option is true, validation object must have at least one operator

I had to extend the user validation schema with

hasLoggedIn:
    type: Boolean
    optional: true

to get rid of the error message.

Also, the migration probably didn't happen for the same reason (which is not a problem since I just installed the packages).