mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 15:42:48 -05:00
email 2fa is not case sensitive
This commit is contained in:
@ -190,7 +190,7 @@ namespace Bit.Core.Models.Api
|
||||
|
||||
providers.Add(TwoFactorProviderType.Email, new TwoFactorProvider
|
||||
{
|
||||
MetaData = new Dictionary<string, object> { ["Email"] = Email },
|
||||
MetaData = new Dictionary<string, object> { ["Email"] = Email.ToLowerInvariant() },
|
||||
Enabled = true
|
||||
});
|
||||
extistingUser.SetTwoFactorProviders(providers);
|
||||
|
Reference in New Issue
Block a user