fix(emails): try multiple attemps (delay not avalaible in api because in not yet released version)

This commit is contained in:
Matteo Pagliazzi 2014-09-18 18:43:55 +02:00
parent 7e53eaf1ae
commit 292d2455ba
2 changed files with 12 additions and 0 deletions

View file

@ -128,6 +128,9 @@ api.registerUser = function(req, res, next) {
name: username,
email: email
}
},
options: {
attemps: 5
}
}
});
@ -333,6 +336,9 @@ api.setupPassport = function(router) {
name: req.user.displayName || req.user.username,
email: req.user.emails[0].value
}
},
options: {
attemps: 5
}
}
});

View file

@ -81,6 +81,9 @@ function createSubscription(user, data) {
name: name,
email: email
}
},
options: {
attemps: 5
}
}
});
@ -132,6 +135,9 @@ function buyGems(user, data) {
name: name,
email: email
}
},
options: {
attemps: 5
}
}
});