From f999c0db5fcb6a00af506dbd5389e226a15052b1 Mon Sep 17 00:00:00 2001 From: Zack Fu Zi Xiang Date: Fri, 19 Apr 2024 17:58:49 +0800 Subject: [PATCH] feat: added template for mail confirmation --- assets/mailer_templates/confirmation.html | 153 ++++++++++++++++++++++ docker-compose-dev.yml | 1 + 2 files changed, 154 insertions(+) create mode 100644 assets/mailer_templates/confirmation.html diff --git a/assets/mailer_templates/confirmation.html b/assets/mailer_templates/confirmation.html new file mode 100644 index 00000000..dcd218d5 --- /dev/null +++ b/assets/mailer_templates/confirmation.html @@ -0,0 +1,153 @@ + + + + + +*|MC:SUBJECT|* + + + + + + + +
+ + + + +
+

Log in to AppFlowy


Click the button below to securely log in or sign up. This magic link will expire in 5 minutes.

+ +
Log in / Sign up

Confirming this request will securely log you in using {youremail@email}.

+
+
+ diff --git a/docker-compose-dev.yml b/docker-compose-dev.yml index a42360bf..1fee71be 100644 --- a/docker-compose-dev.yml +++ b/docker-compose-dev.yml @@ -76,6 +76,7 @@ services: # Prometheus Metrics - GOTRUE_METRICS_ENABLED=true - GOTRUE_METRICS_EXPORTER=prometheus + - GOTRUE_MAILER_TEMPLATES_CONFIRMATION=${GOTRUE_MAILER_TEMPLATES_CONFIRMATION} ports: - 9999:9999