netlify / gotrue

An SWT based API for managing users and issuing SWT tokens.
https://www.gotrueapi.org
MIT License
3.82k stars 283 forks source link

MAILER_AUTOCONFIRM env variable doesnt work #300

Closed Nikeweke closed 2 years ago

Nikeweke commented 2 years ago

- Do you want to request a feature or report a bug? Bug

- What is the current behavior? variable in .env file "MAILER_AUTOCONFIRM" doesnt affect go application

- If the current behavior is a bug, please provide the steps to reproduce. add to env file MAILER_AUTOCONFIRM=true and check /settings

- What is the expected behavior? its need to be working

- Please mention your Go version, and operating system version. 1.17 Win 10

Nikeweke commented 2 years ago

I needed to add prefix "GOTRUE_" ---> "GOTRUE_MAILER_AUTOCONFIRM". Can you add it to description of project

tinfoil-knight commented 2 years ago

Hey @Nikeweke, the GOTRUE prefix is mentioned in the README file here: https://github.com/netlify/gotrue#configuration

image

IMO, it might be a bit redundant to have the GOTRUE prefix everywhere after mentioning it once.