1
0
mirror of https://github.com/bitwarden/directory-connector synced 2025-12-05 23:53:21 +00:00

add organization duo 2fa type

This commit is contained in:
Kyle Spearrin
2018-04-03 16:16:48 -04:00
parent ceddb83d2d
commit 598db5c83b
2 changed files with 5 additions and 3 deletions

View File

@@ -214,6 +214,7 @@ namespace Bit.Console
{
Con.WriteLine("{0}. {1}{2}", i + 1, result.TwoFactorProviders.ElementAt(i).Key,
result.TwoFactorProviders.ElementAt(i).Key == TwoFactorProviderType.Duo ||
result.TwoFactorProviders.ElementAt(i).Key == TwoFactorProviderType.OrganizationDuo ||
result.TwoFactorProviders.ElementAt(i).Key == TwoFactorProviderType.U2f ?
" - not supported" : string.Empty);
}
@@ -260,8 +261,8 @@ namespace Bit.Console
}
else
{
Con.WriteLine("The selected two-step login method is not supported on this platform/application. " +
"Use a different two step-login method.");
Con.WriteLine("The selected two-step login method is not supported on this " +
"platform/application. Use a different two step-login method.");
readingTokenInput = false;
}

View File

@@ -7,6 +7,7 @@
Duo = 2,
YubiKey = 3,
U2f = 4,
Remember = 5
Remember = 5,
OrganizationDuo = 6
}
}