Skip to content

A full-featured CRM built with React, shadcn/ui, and Supabase.

Fix redirection url in email templates

fzaninotto71976bf7367a
diff --git a/supabase/templates/invite.html b/supabase/templates/invite.html
index eadf62d8..b01e69dc 100644
--- a/supabase/templates/invite.html
+++ b/supabase/templates/invite.html
@@ -58,7 +58,7 @@
choose your password, please click the link below.
</p>
<p>
- <a href="{{ .ConfirmationURL }}auth-callback.html" class="button"
+ <a href="{{ .ConfirmationURL }}/auth-callback.html" class="button"
>Create my account</a
>
</p>
diff --git a/supabase/templates/recovery.html b/supabase/templates/recovery.html
index 5edf765a..473031c0 100644
--- a/supabase/templates/recovery.html
+++ b/supabase/templates/recovery.html
@@ -60,7 +60,7 @@
</p>
<p>You can reset your password by clicking the button below.</p>
<p>
- <a href="{{ .ConfirmationURL }}auth-callback.html" class="button"
+ <a href="{{ .ConfirmationURL }}/auth-callback.html" class="button"
>Reset your password</a
>
</p>