mirror of
https://github.com/bitwarden/server.git
synced 2025-07-06 18:42:49 -05: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