supabase/auth
View on GitHubPOST /admin/generate_link returns empty string when SMTP env vars aren't set
Open
#263 opened on Nov 5, 2021
buggood first issuehacktoberfest
Description
Bug report
- Missing SMTP env vars cause the
POST /admin/generate_linkendpoint to fail silently and return an empty string in the action_link field in the response. - https://github.com/supabase/gotrue/blob/aead739cfff919500cdee343496279743448bca8/api/mail.go#L145