New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

accounts-password: 'user' object update before passing to email template functions #2210

wants to merge 1 commit into
base: devel


None yet
3 participants

FredericoC commented Jun 4, 2014

I wanted to customise my password reset email, but the 'user' object passed through to 'Accounts.emailTemplates.resetPassword.text' didn't have the latest token data. This fix updates the user object with the new token data before calling the email template functions.


This comment has been minimized.

meteor-bot commented Jun 4, 2014

@FredericoC: Before we can merge your pull request, you'll need to sign the Meteor Contributor Agreement:


This comment has been minimized.


glasser commented Jun 10, 2014

Sure. Probably a better answer would be to have made the email template callbacks more extensible so it was more natural to add the token as an argument, but this seems like a fine start. Merged.

@glasser glasser closed this Jun 10, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment