From 4fd5bf514034667a0492aabba4a8728314b59521 Mon Sep 17 00:00:00 2001 From: Pindagus Date: Tue, 30 Apr 2019 17:13:55 +0200 Subject: [PATCH] Prevent subject and password from being HTML encoded in the invite email (#4301) Credit to @Pindagus. Related: https://github.com/octobercms/october/commit/ac5bc866ff8f0e7dea3ed7f667b99848723eb268 --- modules/backend/views/mail/invite.htm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/backend/views/mail/invite.htm b/modules/backend/views/mail/invite.htm index 28224a5a1..da43549e7 100644 --- a/modules/backend/views/mail/invite.htm +++ b/modules/backend/views/mail/invite.htm @@ -1,4 +1,4 @@ -subject = "Welcome to {{ appName }}" +subject = "Welcome to {{ appName | raw }}" layout = "system" description = "Invite new admin to the site" == @@ -8,7 +8,7 @@ A user account has been created for you on **{{ appName }}**. {% partial 'panel' body %} - Login: `{{ login ?: 'sample' }}` -- Password: `{{ password ?: '********' | raw }}` +- Password: `{{ (password ?: '********') | raw }}` {% endpartial %} You can use the following link to sign in: