diff --git a/package-lock.json b/package-lock.json index 38cc8a4..91721b0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "auth0-source-control-extension-tools", - "version": "5.8.0", + "version": "5.8.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index f730924..ed20b11 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "auth0-source-control-extension-tools", - "version": "5.8.0", + "version": "5.8.1", "description": "Supporting tools for the Source Control extensions", "main": "lib/index.js", "scripts": { diff --git a/src/constants.js b/src/constants.js index 78eaf34..dc6f27d 100644 --- a/src/constants.js +++ b/src/constants.js @@ -120,7 +120,8 @@ constants.GUARDIAN_FACTORS = [ 'email', 'duo', 'webauthn-roaming', - 'webauthn-platform' + 'webauthn-platform', + 'recovery-code' ]; constants.GUARDIAN_POLICIES = [ 'all-applications', diff --git a/tests/auth0/handlers/guardianFactors.tests.js b/tests/auth0/handlers/guardianFactors.tests.js index 1bd01cf..189512c 100644 --- a/tests/auth0/handlers/guardianFactors.tests.js +++ b/tests/auth0/handlers/guardianFactors.tests.js @@ -63,7 +63,8 @@ describe('#guardianFactors handler', () => { { name: 'email', enabled: true }, { name: 'duo', enabled: false }, { name: 'webauthn-roaming', enabled: false }, - { name: 'webauthn-platform', enabled: false } + { name: 'webauthn-platform', enabled: false }, + { name: 'recovery-code', enabled: false } ]; const auth0 = { @@ -86,7 +87,8 @@ describe('#guardianFactors handler', () => { { name: 'email', enabled: true }, { name: 'duo', enabled: false }, { name: 'webauthn-roaming', enabled: false }, - { name: 'webauthn-platform', enabled: false } + { name: 'webauthn-platform', enabled: false }, + { name: 'recovery-code', enabled: false } ]; const auth0 = {