mirror of
https://github.com/bitwarden/server.git
synced 2026-02-10 10:55:10 +08:00
13 lines
269 B
C#
13 lines
269 B
C#
|
|
using Microsoft.AspNet.Identity;
|
|||
|
|
|
|||
|
|
namespace Bit.Core.Identity
|
|||
|
|
{
|
|||
|
|
public class LowerInvariantLookupNormalizer : ILookupNormalizer
|
|||
|
|
{
|
|||
|
|
public string Normalize(string key)
|
|||
|
|
{
|
|||
|
|
return key?.Normalize().ToLowerInvariant();
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|