aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server.Implementations
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2026-07-05 15:59:14 +0200
committerGitHub <noreply@github.com>2026-07-05 15:59:14 +0200
commit8433773fadefbf61e2e5a852f8b3e88262e47496 (patch)
tree24c6130eed1f0eb0044167d45b7090d38759e9e7 /Jellyfin.Server.Implementations
parent381bf181616c2294b739b97df6c0fa062dbd25c9 (diff)
parent482cf4b8c3e78463b61cac01c0f3a38fe2045a5c (diff)
Allow changing capitalization of usernames (#17229)
Fixes #17195 Adds a regression test
Diffstat (limited to 'Jellyfin.Server.Implementations')
-rw-r--r--Jellyfin.Server.Implementations/Users/UserManager.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Server.Implementations/Users/UserManager.cs b/Jellyfin.Server.Implementations/Users/UserManager.cs
index 9be2eac4a1..80722af106 100644
--- a/Jellyfin.Server.Implementations/Users/UserManager.cs
+++ b/Jellyfin.Server.Implementations/Users/UserManager.cs
@@ -170,7 +170,7 @@ namespace Jellyfin.Server.Implementations.Users
{
ThrowIfInvalidUsername(newName);
- if (oldName.Equals(newName, StringComparison.OrdinalIgnoreCase))
+ if (oldName.Equals(newName, StringComparison.Ordinal))
{
throw new ArgumentException("The new and old names must be different.");
}