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

Commit

Permalink
Backport #137 to v4.x (#138)
Browse files Browse the repository at this point in the history
* feat: whitelist user-invitation email template (#137)

* 4.6.0

Co-authored-by: Zulfiqar Ahmed <[email protected]>
  • Loading branch information
jpadilla and zamd authored Mar 30, 2021
1 parent b494275 commit 8715ba2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 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": "4.5.0",
"version": "4.6.0",
"description": "Supporting tools for the Source Control extensions",
"main": "lib/index.js",
"scripts": {
Expand Down
8 changes: 6 additions & 2 deletions src/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ constants.EMAIL_ENROLLMENT = 'enrollment_email';
constants.EMAIL_CHANGE_PASSWORD = 'change_password';
constants.EMAIL_PASSWORD_RESET = 'password_reset';
constants.EMAIL_MFA_OOB_CODE = 'mfa_oob_code';
constants.EMAIL_USER_INVITATION = 'user_invitation';

constants.EMAIL_TEMPLATES_NAMES = [
constants.EMAIL_VERIFY + '.json',
Expand All @@ -87,7 +88,9 @@ constants.EMAIL_TEMPLATES_NAMES = [
constants.EMAIL_PASSWORD_RESET + '.json',
constants.EMAIL_PASSWORD_RESET + '.html',
constants.EMAIL_MFA_OOB_CODE + '.json',
constants.EMAIL_MFA_OOB_CODE + '.html'
constants.EMAIL_MFA_OOB_CODE + '.html',
constants.EMAIL_USER_INVITATION + '.json',
constants.EMAIL_USER_INVITATION + '.html'
];

constants.EMAIL_TEMPLATES_TYPES = [
Expand All @@ -100,7 +103,8 @@ constants.EMAIL_TEMPLATES_TYPES = [
'enrollment_email',
'mfa_oob_code',
'change_password',
'password_reset'
'password_reset',
'user_invitation'
];

constants.GUARDIAN_DIRECTORY = 'guardian';
Expand Down

0 comments on commit 8715ba2

Please sign in to comment.