mirror of
https://github.com/bitwarden/server
synced 2026-01-07 02:53:38 +00:00
initial commit of source
This commit is contained in:
12
src/Core/Identity/LowerInvariantLookupNormalizer.cs
Normal file
12
src/Core/Identity/LowerInvariantLookupNormalizer.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using Microsoft.AspNet.Identity;
|
||||
|
||||
namespace Bit.Core.Identity
|
||||
{
|
||||
public class LowerInvariantLookupNormalizer : ILookupNormalizer
|
||||
{
|
||||
public string Normalize(string key)
|
||||
{
|
||||
return key?.Normalize().ToLowerInvariant();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user