summaryrefslogtreecommitdiffstats
path: root/templates/emails
diff options
context:
space:
mode:
authorAndrew Godwin2022-11-17 19:16:34 -0700
committerAndrew Godwin2022-11-17 19:16:34 -0700
commit6adfdbabe0d44c17f32abc9d48a6e252e2a0792e (patch)
tree6644c5eeab7970a9f9b8d9540b7ebe28cc499331 /templates/emails
parent2a3690d1c148da5dd799052403ba7290e1fb7de0 (diff)
downloadtakahe-6adfdbabe0d44c17f32abc9d48a6e252e2a0792e.tar.gz
takahe-6adfdbabe0d44c17f32abc9d48a6e252e2a0792e.tar.bz2
takahe-6adfdbabe0d44c17f32abc9d48a6e252e2a0792e.zip
Add signup and password reset
Diffstat (limited to 'templates/emails')
-rw-r--r--templates/emails/new_account.txt8
-rw-r--r--templates/emails/password_reset.txt8
2 files changed, 16 insertions, 0 deletions
diff --git a/templates/emails/new_account.txt b/templates/emails/new_account.txt
new file mode 100644
index 0000000..73c7fa4
--- /dev/null
+++ b/templates/emails/new_account.txt
@@ -0,0 +1,8 @@
+Your email address was used to create a new account at {{config.site_name}} (https://{{settings.MAIN_DOMAIN}}).
+
+To confirm your new account, go to this link:
+
+https://{{settings.MAIN_DOMAIN}}/auth/reset/{{reset.token}}/
+
+If this was not you, then please ignore this message - your email will not be
+used to make an account if this link is not visited.
diff --git a/templates/emails/password_reset.txt b/templates/emails/password_reset.txt
new file mode 100644
index 0000000..989960f
--- /dev/null
+++ b/templates/emails/password_reset.txt
@@ -0,0 +1,8 @@
+A password reset was requested for your account ({{reset.user.email}}) at {{Config.system.site_name}} (https://{{settings.MAIN_DOMAIN}}).
+
+To reset your password, go to this link:
+
+https://{{settings.MAIN_DOMAIN}}/auth/reset/{{reset.token}}/
+
+If this was not you, then please ignore this message - your password will not be
+reset if this link is not visited.