1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-17 19:18:16 -05:00
bitwarden/src/Core/Identity/LowerInvariantLookupNormalizer.cs
2016-05-19 23:17:01 -04:00

13 lines
273 B
C#

using Microsoft.AspNetCore.Identity;
namespace Bit.Core.Identity
{
public class LowerInvariantLookupNormalizer : ILookupNormalizer
{
public string Normalize(string key)
{
return key?.Normalize().ToLowerInvariant();
}
}
}