aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server.Implementations/Users/DefaultPasswordResetProvider.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2021-03-14 00:41:40 +0100
committerGitHub <noreply@github.com>2021-03-14 00:41:40 +0100
commit0e5d4a3bcfaa07c3cd1c0085a5940b1c13f1ae20 (patch)
treeff6018170854d520370903cfc0b6bb56afe362cd /Jellyfin.Server.Implementations/Users/DefaultPasswordResetProvider.cs
parent5c0c205bedb504d7123c2509a6dcb689ffc1f7e6 (diff)
parent01dfa8801a74f8c6802aea33d9bce0e421601faa (diff)
Merge pull request #5422 from Bond-009/warn51
Diffstat (limited to 'Jellyfin.Server.Implementations/Users/DefaultPasswordResetProvider.cs')
-rw-r--r--Jellyfin.Server.Implementations/Users/DefaultPasswordResetProvider.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Server.Implementations/Users/DefaultPasswordResetProvider.cs b/Jellyfin.Server.Implementations/Users/DefaultPasswordResetProvider.cs
index 9cc1c3e5e..c99c5e4ef 100644
--- a/Jellyfin.Server.Implementations/Users/DefaultPasswordResetProvider.cs
+++ b/Jellyfin.Server.Implementations/Users/DefaultPasswordResetProvider.cs
@@ -66,7 +66,7 @@ namespace Jellyfin.Server.Implementations.Users
else if (string.Equals(
spr.Pin.Replace("-", string.Empty, StringComparison.Ordinal),
pin.Replace("-", string.Empty, StringComparison.Ordinal),
- StringComparison.InvariantCultureIgnoreCase))
+ StringComparison.OrdinalIgnoreCase))
{
var resetUser = userManager.GetUserByName(spr.UserName)
?? throw new ResourceNotFoundException($"User with a username of {spr.UserName} not found");