1
0
mirror of https://github.com/bitwarden/server.git synced 2025-05-16 09:05:44 -05:00

TwoFactorProviders only for two factor response

This commit is contained in:
Kyle Spearrin 2017-01-25 00:30:55 -05:00
parent 9fe2a4dfb5
commit d1a5421f69

View File

@ -134,7 +134,6 @@ namespace Bit.Api.IdentityServer
context.Result = new GrantValidationResult(TokenRequestErrors.InvalidGrant, "Two factor required.",
new Dictionary<string, object>
{
{ "TwoFactorRequired", true },
{ "TwoFactorProviders", providers }
});
}