fix(emails): remove unused variable

This commit is contained in:
Matteo Pagliazzi
2014-12-19 19:59:12 +01:00
parent 7c0b25d58a
commit 739d8885a3
-1
View File
@@ -207,7 +207,6 @@ api.resetPassword = function(req, res, next){
user.auth.local.hashed_password = hashed_password;
utils.txnEmail(user, 'reset-password', [
{name: "NEW_PASSWORD", content: newPassword},
{name: "URL", content: nconf.get('BASE_URL')},
{name: "USERNAME", content: user.auth.local.username}
]);
user.save(function(err){