mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-13 17:52:22 +00:00
fix(emails): try multiple attemps (delay not avalaible in api because in not yet released version)
This commit is contained in:
parent
7e53eaf1ae
commit
292d2455ba
2 changed files with 12 additions and 0 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue