mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 15:42:48 -05:00
Add back provider keys on TwoFactorProviders response (#4991)
This commit is contained in:
@ -121,8 +121,8 @@ public class TwoFactorAuthenticationValidator(
|
|||||||
|
|
||||||
var twoFactorResultDict = new Dictionary<string, object>
|
var twoFactorResultDict = new Dictionary<string, object>
|
||||||
{
|
{
|
||||||
{ "TwoFactorProviders", null },
|
{ "TwoFactorProviders", providers.Keys }, // backwards compatibility
|
||||||
{ "TwoFactorProviders2", providers }, // backwards compatibility
|
{ "TwoFactorProviders2", providers },
|
||||||
};
|
};
|
||||||
|
|
||||||
// If we have email as a 2FA provider, we might need an SsoEmail2fa Session Token
|
// If we have email as a 2FA provider, we might need an SsoEmail2fa Session Token
|
||||||
|
Reference in New Issue
Block a user