mirror of
https://github.com/bitwarden/server
synced 2025-12-17 16:53:23 +00:00
Duo API and token provider
This commit is contained in:
@@ -107,7 +107,8 @@ namespace Bit.Core.IdentityServer
|
||||
context.Result = new GrantValidationResult(TokenRequestErrors.InvalidGrant, "Two factor required.",
|
||||
new Dictionary<string, object>
|
||||
{
|
||||
{ "TwoFactorProviders", providers }
|
||||
{ "TwoFactorProviders", providers },
|
||||
{ "TwoFactorProvider", (byte)user.TwoFactorProvider.Value }
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user