mirror of
https://github.com/bitwarden/server.git
synced 2025-05-16 17:15:40 -05:00
TwoFactorProviders only for two factor response
This commit is contained in:
parent
9fe2a4dfb5
commit
d1a5421f69
@ -134,7 +134,6 @@ namespace Bit.Api.IdentityServer
|
|||||||
context.Result = new GrantValidationResult(TokenRequestErrors.InvalidGrant, "Two factor required.",
|
context.Result = new GrantValidationResult(TokenRequestErrors.InvalidGrant, "Two factor required.",
|
||||||
new Dictionary<string, object>
|
new Dictionary<string, object>
|
||||||
{
|
{
|
||||||
{ "TwoFactorRequired", true },
|
|
||||||
{ "TwoFactorProviders", providers }
|
{ "TwoFactorProviders", providers }
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user