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

Commit

Permalink
Merge pull request #350 from ThomasJamesCrawford/add-verify-email-by-…
Browse files Browse the repository at this point in the history
…code

Add verify_email_by_code template
  • Loading branch information
Yvo authored Mar 21, 2021
2 parents 92634ca + 197ad91 commit f53af72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
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

0 comments on commit f53af72

Please sign in to comment.