Prevent subject and password from being HTML encoded in the invite email (#4301)

Credit to @Pindagus. Related: ac5bc866ff
This commit is contained in:
Pindagus 2019-04-30 17:13:55 +02:00 committed by Luke Towers
parent 7694865647
commit 4fd5bf5140
1 changed files with 2 additions and 2 deletions

View File

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