Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
accounts-password: 'user' object update before passing to email template functions #2210
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.