diff --git a/src/users.js b/src/users.js index 8cfefaf96..9d7b1b8a0 100644 --- a/src/users.js +++ b/src/users.js @@ -351,7 +351,7 @@ function getByResetToken(email, resetToken, callback) { if (error && error.reason === DatabaseError.NOT_FOUND) return callback(new UsersError(UsersError.NOT_FOUND)); if (error) return callback(new UsersError(UsersError.INTERNAL_ERROR, error)); - get(result.id, callback); + callback(null, result); }); }