stages/email: Disable autoescape for text templates (#8812)
* Disable autoescape for text templates * Re-add trailing whitespace after seperator
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
{% load i18n %}{% translate "Welcome!" %}
|
||||
{% load i18n %}{% autoescape off %}{% translate "Welcome!" %}
|
||||
|
||||
{% translate "We're excited to have you get started. First, you need to confirm your account. Just open the link below." %}
|
||||
|
||||
@ -6,3 +6,4 @@
|
||||
|
||||
--
|
||||
Powered by goauthentik.io.
|
||||
{% endautoescape %}
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
{% load authentik_stages_email %}{% load i18n %}{% translate "Dear authentik user," %}
|
||||
{% load authentik_stages_email %}{% load i18n %}{% autoescape off %}{% translate "Dear authentik user," %}
|
||||
|
||||
{% translate "The following notification was created:" %}
|
||||
|
||||
@ -16,3 +16,4 @@ This email was sent from the notification transport {{ name }}.
|
||||
|
||||
--
|
||||
Powered by goauthentik.io.
|
||||
{% endautoescape %}
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
{% load i18n %}{% load humanize %}{% blocktrans with username=user.username %}Hi {{ username }},{% endblocktrans %}
|
||||
{% load i18n %}{% load humanize %}{% autoescape off %}{% blocktrans with username=user.username %}Hi {{ username }},{% endblocktrans %}
|
||||
|
||||
{% blocktrans %}
|
||||
You recently requested to change your password for your authentik account. Use the link below to set a new password.
|
||||
@ -10,3 +10,4 @@ If you did not request a password change, please ignore this Email. The link abo
|
||||
|
||||
--
|
||||
Powered by goauthentik.io.
|
||||
{% endautoescape %}
|
||||
|
||||
@ -1,7 +1,8 @@
|
||||
{% load i18n %}authentik Test-Email
|
||||
{% load i18n %}{% autoescape off %}authentik Test-Email
|
||||
{% blocktrans %}
|
||||
This is a test email to inform you, that you've successfully configured authentik emails.
|
||||
{% endblocktrans %}
|
||||
|
||||
--
|
||||
Powered by goauthentik.io.
|
||||
{% endautoescape %}
|
||||
|
||||
Reference in New Issue
Block a user