diff options
author | Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | 2019-09-20 15:21:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-20 15:21:30 +0100 |
commit | df3401a71d78088da36a03c73d35bc116c712df6 (patch) | |
tree | 1adb9c2f50e75a39db53e27178e2705a39a430b4 /synapse/res | |
parent | Remove trailing slash ability from password reset's submit_token endpoint (#6... (diff) | |
download | synapse-df3401a71d78088da36a03c73d35bc116c712df6.tar.xz |
Allow HS to send emails when adding an email to the HS (#6042)
Diffstat (limited to 'synapse/res')
-rw-r--r-- | synapse/res/templates/add_threepid.html | 9 | ||||
-rw-r--r-- | synapse/res/templates/add_threepid.txt | 6 | ||||
-rw-r--r-- | synapse/res/templates/add_threepid_failure.html | 8 | ||||
-rw-r--r-- | synapse/res/templates/add_threepid_success.html | 6 |
4 files changed, 29 insertions, 0 deletions
diff --git a/synapse/res/templates/add_threepid.html b/synapse/res/templates/add_threepid.html new file mode 100644 index 0000000000..cc4ab07e09 --- /dev/null +++ b/synapse/res/templates/add_threepid.html @@ -0,0 +1,9 @@ +<html> +<body> + <p>A request to add an email address to your Matrix account has been received. If this was you, please click the link below to confirm adding this email:</p> + + <a href="{{ link }}">{{ link }}</a> + + <p>If this was not you, you can safely ignore this email. Thank you.</p> +</body> +</html> diff --git a/synapse/res/templates/add_threepid.txt b/synapse/res/templates/add_threepid.txt new file mode 100644 index 0000000000..a60c1ff659 --- /dev/null +++ b/synapse/res/templates/add_threepid.txt @@ -0,0 +1,6 @@ +A request to add an email address to your Matrix account has been received. If this was you, +please click the link below to confirm adding this email: + +{{ link }} + +If this was not you, you can safely ignore this email. Thank you. diff --git a/synapse/res/templates/add_threepid_failure.html b/synapse/res/templates/add_threepid_failure.html new file mode 100644 index 0000000000..441d11c846 --- /dev/null +++ b/synapse/res/templates/add_threepid_failure.html @@ -0,0 +1,8 @@ +<html> +<head></head> +<body> +<p>The request failed for the following reason: {{ failure_reason }}.</p> + +<p>No changes have been made to your account.</p> +</body> +</html> diff --git a/synapse/res/templates/add_threepid_success.html b/synapse/res/templates/add_threepid_success.html new file mode 100644 index 0000000000..fbd6e4018f --- /dev/null +++ b/synapse/res/templates/add_threepid_success.html @@ -0,0 +1,6 @@ +<html> +<head></head> +<body> +<p>Your email has now been validated, please return to your client. You may now close this window.</p> +</body> +</html> |