Integrate MAS with Synapse
This commit is contained in:
19
mas/share/templates/emails/verification.txt
Normal file
19
mas/share/templates/emails/verification.txt
Normal file
@@ -0,0 +1,19 @@
|
||||
{#
|
||||
Copyright 2024, 2025 New Vector Ltd.
|
||||
Copyright 2021-2024 The Matrix.org Foundation C.I.C.
|
||||
|
||||
SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||
Please see LICENSE files in the repository root for full details.
|
||||
-#}
|
||||
|
||||
{%- set _ = translator(lang) -%}
|
||||
|
||||
{%- if browser_session is defined -%}
|
||||
{%- set username = browser_session.user.username -%}
|
||||
{%- elif user_registration is defined -%}
|
||||
{%- set username = user_registration.username -%}
|
||||
{%- endif -%}
|
||||
|
||||
{{ _("mas.emails.greeting", username=(username|default("user"))) }}
|
||||
|
||||
{{ _("mas.emails.verify.body_text", code=authentication_code.code) }}
|
||||
Reference in New Issue
Block a user