From 83bfee0fa308038ebce9620b13fb70523a4eac9e Mon Sep 17 00:00:00 2001 From: Tyler Renelle Date: Wed, 27 Mar 2013 23:23:19 -0700 Subject: [PATCH] and include email in apply_tokens --- migrations/20130327_apply_tokens.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 } },