MAILER_SECURE_EMAIL_CHANGE_ENABLED env variable (#7948)

* MAILER_SECURE_EMAIL_CHANGE_ENABLED env variable

This needs to be better documented also at https://github.com/supabase/gotrue.
This env variable can only be found at https://github.com/supabase/gotrue/blob/master/example.env#L38

* MAILER_SECURE_EMAIL_CHANGE_ENABLED env variable

See https://github.com/Luca8991/supabase/commit/029ca418cbaddfc9d59c1a96e7e222cdc0195ea6
This commit is contained in:
Luca Bertelli authored and GitHub committed 2022-07-29 17:37:23 +08:00
1 parent 29bb77e2b0
commit f770fac437
2 files changed
+5

No files matched your search

+4
View File
@@ -205,6 +205,10 @@ Controls the minimum amount of time that must pass before sending another signup
If you do not require email confirmation, you may set this to `true`. Defaults to `false`.
`MAILER_SECURE_EMAIL_CHANGE_ENABLED` - `bool`
If `true`, send an email to both the user's current and new email with a confirmation link, otherwise send an email with confirmation link only to new email. Defaults to `true`.
`MAILER_URLPATHS_INVITE` - `string`
URL path to use in the user invite email. Defaults to `/`.
+1
View File
@@ -108,6 +108,7 @@ These options control the emails sent from GoTrue.
| Parameter | Type | Description |
| :-------- | :------- | :------------------------- |
| <span id="mailer_autoconfirm">`MAILER_AUTOCONFIRM`</span> | `bool` | If you do not require email confirmation, you may set this to `true`. Defaults to `false`. |
| <span id="mailer_secure_email_change_enabled">`MAILER_SECURE_EMAIL_CHANGE_ENABLED`</span> | `bool` | If `true`, send an email to both the user's current and new email with a confirmation link, otherwise send an email with confirmation link only to new email. Defaults to `true`. |
| <span id="mailer_otp_exp">`MAILER_OTP_EXP`</span> | `string` | Controls the duration an email link or otp is valid for. Defaults to 24 hrs. |
| <span id="mailer_urlpaths_invite">`MAILER_URLPATHS_INVITE`</span> | `string` | URL path to use in the user invite email. Defaults to `/`. |
| <span id="mailer_urlpaths_confirmation">`MAILER_URLPATHS_CONFIRMATION`</span> | `string` | URL path to use in the signup confirmation email. Defaults to `/`. |