Fix scripts/utils/find-users-by-email.js not finding all users
Fix scripts/utils/find-users-by-email.js
not finding all users
Fix #2775 (closed)
This turned to be a problem because we used findOne
when we should be using find
.
Someone can sign in with GitHub and GitLab with the same email. We need to be able to find both users.
Dev notes
node ./scripts/utils/find-users-by-email.js --email test@gitter.im
TODO
-
Add tests
Edited by Eric Eastwood