Skip to content
This repository has been archived by the owner on Mar 8, 2022. It is now read-only.

Add verify_email_by_code template #350

Merged
merged 2 commits into from
Mar 21, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions auth0/resource_auth0_email_template.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ func newEmailTemplate() *schema.Resource {
Required: true,
ValidateFunc: validation.StringInSlice([]string{
"verify_email",
"verify_email_by_code",
"reset_email",
"welcome_email",
"blocked_account",
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/email_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ resource "auth0_email_template" "my_email_template" {

Arguments accepted by this resource include:

* `template` - (Required) String. Template name. Options include `verify_email`, `reset_email`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `change_password` (legacy), and `password_reset` (legacy).
* `template` - (Required) String. Template name. Options include `verify_email`, `verify_email_by_code`, `reset_email`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `change_password` (legacy), and `password_reset` (legacy).
* `body` - (Required) String. Body of the email template. You can include [common variables](https://auth0.com/docs/email/templates#common-variables).
* `from` - (Required) String. Email address to use as the sender. You can include [common variables](https://auth0.com/docs/email/templates#common-variables).
* `result_url` - (Required) String. URL to redirect the user to after a successful action. [Learn more](https://auth0.com/docs/email/templates#configuring-the-redirect-to-url).
Expand Down