diff options
| author | Bond_009 <bond.009@outlook.com> | 2022-09-09 13:36:27 +0200 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2022-09-09 13:36:27 +0200 |
| commit | 5f8477ba4749daff7d7779f524a67508fd840ca5 (patch) | |
| tree | 295fe646e63feac9bda556bed5afc32b0a504c86 /Jellyfin.Server.Implementations/Users | |
| parent | c12cab6844c5253240b725e3de634fb505a23d1b (diff) | |
Make Password Reset case sensitive
Diffstat (limited to 'Jellyfin.Server.Implementations/Users')
| -rw-r--r-- | Jellyfin.Server.Implementations/Users/DefaultPasswordResetProvider.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Server.Implementations/Users/DefaultPasswordResetProvider.cs b/Jellyfin.Server.Implementations/Users/DefaultPasswordResetProvider.cs index 5e84255f9..4fda8f5a4 100644 --- a/Jellyfin.Server.Implementations/Users/DefaultPasswordResetProvider.cs +++ b/Jellyfin.Server.Implementations/Users/DefaultPasswordResetProvider.cs @@ -67,7 +67,7 @@ namespace Jellyfin.Server.Implementations.Users else if (string.Equals( spr.Pin.Replace("-", string.Empty, StringComparison.Ordinal), pin.Replace("-", string.Empty, StringComparison.Ordinal), - StringComparison.OrdinalIgnoreCase)) + StringComparison.Ordinal)) { var resetUser = userManager.GetUserByName(spr.UserName) ?? throw new ResourceNotFoundException($"User with a username of {spr.UserName} not found"); |
