express-rest-boilerplate icon indicating copy to clipboard operation
express-rest-boilerplate copied to clipboard

Action button's href in passwordReset/passwordChange not rendering

Open vesamet opened this issue 5 years ago • 1 comments

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 :)

vesamet avatar Jan 12 '20 21:01 vesamet

Feel free to open a PR :)

danielfsousa avatar Feb 08 '20 16:02 danielfsousa