and include email in apply_tokens

This commit is contained in:
Tyler Renelle
2013-03-27 23:23:19 -07:00
parent a84d1920bf
commit 83bfee0fa3
+2 -1
View File
@@ -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 }
},