express-rest-boilerplate
express-rest-boilerplate copied to clipboard
Action button's href in passwordReset/passwordChange not rendering
Hi there!
Issue: Previous versions of Pug/Jade supported an interpolation syntax such as: a(href="/#{url}") , but is not more supported in attributes. Therefore, the link is not rendered properly in emai's action button.
Solution:
Changing following line in src/api/services/emails/passwordReset/html.pug
a.f-fallback.button.button--green(href=passwordResetUrl target='_blank' style='...')
to
a.f-fallback.button.button--green(href=passwordResetUrl target='_blank' style='...')
resolve the problem.
I may suggest a pullrequest if you wish.
Anyhow, have a good day :)
Feel free to open a PR :)