diff --git a/src/Console/Program.cs b/src/Console/Program.cs index dfa08fab..32e7e010 100644 --- a/src/Console/Program.cs +++ b/src/Console/Program.cs @@ -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; } diff --git a/src/Core/Enums/TwoFactorProviderType.cs b/src/Core/Enums/TwoFactorProviderType.cs index 28be1b2c..1a1b7ffc 100644 --- a/src/Core/Enums/TwoFactorProviderType.cs +++ b/src/Core/Enums/TwoFactorProviderType.cs @@ -7,6 +7,7 @@ Duo = 2, YubiKey = 3, U2f = 4, - Remember = 5 + Remember = 5, + OrganizationDuo = 6 } }