Skip to content
This repository has been archived by the owner on Jul 31, 2021. It is now read-only.

Commit

Permalink
[CAUTH-837] add support for verify_email_by_code email template (#123)
Browse files Browse the repository at this point in the history
* add `verify_email_by_code` email template

* bump to 5.1.0
  • Loading branch information
pmalouin authored Jan 28, 2021
1 parent 79a5f46 commit b593b3f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "auth0-source-control-extension-tools",
"version": "5.0.0",
"version": "5.1.0",
"description": "Supporting tools for the Source Control extensions",
"main": "lib/index.js",
"scripts": {
Expand Down
4 changes: 4 additions & 0 deletions src/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ constants.DATABASE_SCRIPTS_IMPORT = [
constants.EMAIL_TEMPLATES_DIRECTORY = 'emails';

constants.EMAIL_VERIFY = 'verify_email';
constants.EMAIL_VERIFY_BY_CODE = 'verify_email_by_code';
constants.EMAIL_RESET = 'reset_email';
constants.EMAIL_WELCOME = 'welcome_email';
constants.EMAIL_BLOCKED = 'blocked_account';
Expand All @@ -70,6 +71,8 @@ constants.EMAIL_MFA_OOB_CODE = 'mfa_oob_code';
constants.EMAIL_TEMPLATES_NAMES = [
constants.EMAIL_VERIFY + '.json',
constants.EMAIL_VERIFY + '.html',
constants.EMAIL_VERIFY_BY_CODE + '.json',
constants.EMAIL_VERIFY_BY_CODE + '.html',
constants.EMAIL_RESET + '.json',
constants.EMAIL_RESET + '.html',
constants.EMAIL_WELCOME + '.json',
Expand All @@ -90,6 +93,7 @@ constants.EMAIL_TEMPLATES_NAMES = [

constants.EMAIL_TEMPLATES_TYPES = [
'verify_email',
'verify_email_by_code',
'reset_email',
'welcome_email',
'blocked_account',
Expand Down

0 comments on commit b593b3f

Please sign in to comment.