hoodiehq-archive / hoodie-plugin-users

⛔ deprecated
Other
5 stars 9 forks source link

Cannot change the default template for resetPassword email #41

Open idanb11 opened 9 years ago

idanb11 commented 9 years ago

Hi,

I looked at the code and found that createResetEmail function uses static text for this email and it's not configurable.

Also it would be great if I can set a template name to use for this email, something like: hoodie.email.send({ from: "demo@demo.com", to: data.email1, headers: {'X-MC-Template': 'password-reset-template', 'X-MC-Tags': "password-reset-tag"} });

idanb11

janl commented 9 years ago

heya @idanb11! That’s definitely the plan, the template should be configurable in the admin dashboard. It should be a straightforward patch if you want to give it a try. You can use the same mechanism we use to get email credentials.