Skip to content

Commit

Permalink
fix: simplify email templates, for future use
Browse files Browse the repository at this point in the history
  • Loading branch information
j4w8n-malynium committed May 29, 2024
1 parent 8669d07 commit bd578ff
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,9 @@ npm install
```
2. If using the demo's signup or magiclink login, change your email template links per the below. You can find these settings in your Supabase project's dashboard at Authentication > Email Templates.
> Please note that `&next=/app` is for demo use only. If you end up using your Supabase project in a real app, you may need to change or remove this; or you can choose to not add it for the demo.
- Confirm signup: `href="{{ .SiteURL }}/auth/confirm?token_hash={{ .TokenHash }}&type=email&next=/app"`
- Magic Link: `href="{{ .SiteURL }}/auth/confirm?token_hash={{ .TokenHash }}&type=email&next=/app"`
- Confirm signup: `href="{{ .SiteURL }}/auth/confirm?token_hash={{ .TokenHash }}&type=email"`
- Magic Link: `href="{{ .SiteURL }}/auth/confirm?token_hash={{ .TokenHash }}&type=email"`
3. Site URL and Redirect URLs
Expand Down

0 comments on commit bd578ff

Please sign in to comment.