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

Commit

Permalink
Merge pull request #149 from JayHelton/mfa-1088-master
Browse files Browse the repository at this point in the history
MFA-1174 Support Recovery Codes
  • Loading branch information
Chris Geihsler authored May 19, 2021
2 parents b9a3075 + 883872b commit 1374381
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 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.8.0",
"version": "5.8.1",
"description": "Supporting tools for the Source Control extensions",
"main": "lib/index.js",
"scripts": {
Expand Down
3 changes: 2 additions & 1 deletion src/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,8 @@ constants.GUARDIAN_FACTORS = [
'email',
'duo',
'webauthn-roaming',
'webauthn-platform'
'webauthn-platform',
'recovery-code'
];
constants.GUARDIAN_POLICIES = [
'all-applications',
Expand Down
6 changes: 4 additions & 2 deletions tests/auth0/handlers/guardianFactors.tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand All @@ -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 = {
Expand Down

0 comments on commit 1374381

Please sign in to comment.