Skip to content

Commit acc6796

Browse files
fixed a possible issue with object mapping.
1 parent 398ce1c commit acc6796

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Identity/IdentityServer/RequestValidators/TwoFactorAuthenticationValidator.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public async Task<Dictionary<string, object>> BuildTwoFactorResultAsync(User use
121121

122122
var twoFactorResultDict = new Dictionary<string, object>
123123
{
124-
{ "TwoFactorProviders", providers },
124+
{ "TwoFactorProviders", null },
125125
{ "TwoFactorProviders2", providers }, // backwards compatibility
126126
};
127127

0 commit comments

Comments
 (0)