meteor / meteor-feature-requests

A tracker for Meteor issues that are requests for new functionality, not bugs.
Other
89 stars 3 forks source link

Unblock Email in Accounts methods #363

Open paulincai opened 5 years ago

paulincai commented 5 years ago

"/packages/accounts-password/password_server.js" Line 735

Would there be any value to unblock these Accounts server method?!

The reason why I am asking for this is because I see in the monitoring tools that Account methods take a very long time compared to everything else.

Accounts.sendResetPasswordEmail = (userId, email, extraTokenData) => {
  const {email: realEmail, user, token} =
    Accounts.generateResetToken(userId, email, 'resetPassword', extraTokenData);
  const url = Accounts.urls.resetPassword(token);
  const options = Accounts.generateOptionsForEmail(realEmail, user, url, 'resetPassword');
  Email.send(options);
  return {email: realEmail, user, token, url, options};
};

Screen Shot 2019-08-27 at 01 34 14 Screen Shot 2019-08-27 at 01 34 32

StorytellerCZ commented 3 years ago

Duplicate of #131?

StorytellerCZ commented 3 years ago

Yeah this looks like something we should do.