Files
vaultwarden/src/static/templates/email/send_org_invite.hbs
Mathijs van Veluw a47b484172 Fix org invite url being html encoded (#5100)
Ever since we changed to pass the full url as a template value handlebars now html-encodes this.
This causes issues with the plain/text mails, but it also could potentially cause issues with the text/html templates.

This PR encloses the template values inside triple braces `{{{ }}}` which prevents html-encoding.
Since the URL is generated via the `url` crate the values are percent-encoded anyway.

Fixes #5097

Signed-off-by: BlackDex <black.dex@gmail.com>
2024-10-18 20:34:11 +02:00

11 lines
248 B
Handlebars

Join {{{org_name}}}
<!---------------->
You have been invited to join the *{{org_name}}* organization.
Click here to join: {{{url}}}
If you do not wish to join this organization, you can safely ignore this email.
{{> email/email_footer_text }}