diff --git a/migrations/20130327_apply_tokens.js b/migrations/20130327_apply_tokens.js index e958c232b4..917a7650b4 100644 --- a/migrations/20130327_apply_tokens.js +++ b/migrations/20130327_apply_tokens.js @@ -60,7 +60,8 @@ _.each(mapping, function(tier){ { $or: [ { _id: { $in: tier.users } }, - { 'auth.local.username': { $in: tier.users } } + { 'auth.local.username': { $in: tier.users } }, + { 'auth.local.email': { $in: tier.users } } ], 'backer.tokensApplied': { $exists: false } },