From b593b3f594a7aa414007122bc019e75f9db412c5 Mon Sep 17 00:00:00 2001 From: Patrick Malouin Date: Thu, 28 Jan 2021 14:41:17 -0500 Subject: [PATCH] [CAUTH-837] add support for `verify_email_by_code` email template (#123) * add `verify_email_by_code` email template * bump to 5.1.0 --- package-lock.json | 2 +- package.json | 2 +- src/constants.js | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index fc37b45..0863ec7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "auth0-source-control-extension-tools", - "version": "5.0.0", + "version": "5.1.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 9acf72d..91182b9 100644 --- a/package.json +++ b/package.json @@ -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": { diff --git a/src/constants.js b/src/constants.js index a8a4854..c5c9adb 100644 --- a/src/constants.js +++ b/src/constants.js @@ -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'; @@ -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', @@ -90,6 +93,7 @@ constants.EMAIL_TEMPLATES_NAMES = [ constants.EMAIL_TEMPLATES_TYPES = [ 'verify_email', + 'verify_email_by_code', 'reset_email', 'welcome_email', 'blocked_account',