From 6adfdbabe0d44c17f32abc9d48a6e252e2a0792e Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Thu, 17 Nov 2022 19:16:34 -0700 Subject: Add signup and password reset --- templates/emails/new_account.txt | 8 ++++++++ templates/emails/password_reset.txt | 8 ++++++++ 2 files changed, 16 insertions(+) create mode 100644 templates/emails/new_account.txt create mode 100644 templates/emails/password_reset.txt (limited to 'templates/emails') 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. -- cgit v1.2.3