The Free Software Media System - Server Backend & API
Make Password Reset case sensitive
Bond_0095f8477ba4749
diff --git a/Jellyfin.Server.Implementations/Users/DefaultPasswordResetProvider.cs b/Jellyfin.Server.Implementations/Users/DefaultPasswordResetProvider.csindex 5e84255f91..4fda8f5a41 100644--- a/Jellyfin.Server.Implementations/Users/DefaultPasswordResetProvider.cs+++ b/Jellyfin.Server.Implementations/Users/DefaultPasswordResetProvider.cs@@ -67,7 +67,7 @@ namespace Jellyfin.Server.Implementations.Userselse 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");