From d1a5421f6959245a72b120d9161dc4505781b974 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Wed, 25 Jan 2017 00:30:55 -0500 Subject: [PATCH] TwoFactorProviders only for two factor response --- src/Api/IdentityServer/ResourceOwnerPasswordValidator.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Api/IdentityServer/ResourceOwnerPasswordValidator.cs b/src/Api/IdentityServer/ResourceOwnerPasswordValidator.cs index 8274f8b7d0..748008179c 100644 --- a/src/Api/IdentityServer/ResourceOwnerPasswordValidator.cs +++ b/src/Api/IdentityServer/ResourceOwnerPasswordValidator.cs @@ -134,7 +134,6 @@ namespace Bit.Api.IdentityServer context.Result = new GrantValidationResult(TokenRequestErrors.InvalidGrant, "Two factor required.", new Dictionary { - { "TwoFactorRequired", true }, { "TwoFactorProviders", providers } }); }