supabase / cli

Supabase CLI. Manage postgres migrations, run Supabase locally, deploy edge functions. Postgres backups. Generating types from your database schema.
https://supabase.com/docs/reference/cli/about
MIT License
1.02k stars 201 forks source link

Invalid config for auth.email.magic_link.content_path #2510

Closed zhihengGet closed 2 months ago

zhihengGet commented 2 months ago

Describe the bug

when starting supabsae i got 'Invalid config for auth.email.magic_link.content_path'

i do have a template/confirm or template/magiclink in the same dir as config.toml, it works working in 183


subject = "Please Cofirm Your email"
content_path ="./supabase/template/confirm.html"

[auth.email.template.magic_link]
subject = "magic_link"
content_path ="./supabase/template/magiclink.html"

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

System information

windows 11 WSL with docker

Additional context v1.185 and 1.86.1 failed ,

sweatybridge commented 2 months ago

Thanks for reporting this issue. It was due to an refactoring oversight. It will be fixed in the next release 1.186.2.