Hi,
I’m using accounts-password with email (instead of username). Very few users are getting an error logging in, so I’m finding it difficult to identify the issue. They are getting a “match failed”:
Exception while invoking method 'login' Error: Match error: Match error: Failed Match.Where validation in field username in field user.username
at check (packages/check/match.js:35:15)
at MethodInvocation.<anonymous> (packages/accounts-password/password_server.js:266:3)
I am calling loginWithPasword using an email and the password, so not sure why it’s trying to match username.
I modified the call to loginWithPasswor to be loginWithPassword({email: …}, ) so that it would be explicitly using it with email, and I still get a match error, but now on email:
Exception while invoking method 'login' Error: Match error: Match error: Failed Match.Where validation in field email in field user.email
at check (packages/check/match.js:35:15)
at MethodInvocation.<anonymous> (packages/accounts-password/password_server.js:266:3)
I am certain that this is not an issue with the email or password being entered incorrectly.
Any help would be greatly apprciated - I haven’t found any other record of this issue…