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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
Duo = 2,
|
||||
YubiKey = 3,
|
||||
U2f = 4,
|
||||
Remember = 5
|
||||
Remember = 5,
|
||||
OrganizationDuo = 6
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user