diff options
| author | Bond_009 <bond.009@outlook.com> | 2026-07-03 18:33:10 +0200 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2026-07-03 18:33:10 +0200 |
| commit | 482cf4b8c3e78463b61cac01c0f3a38fe2045a5c (patch) | |
| tree | 092e4f22f2e091b35ba9797bd3c2fd5c4376c4ab /Jellyfin.Server.Implementations/Users | |
| parent | ccc1712d10526d3a21e8136c702b84c46ac0a536 (diff) | |
Allow changing capitalization of usernames
Fixes #17195
Adds a regression test
Diffstat (limited to 'Jellyfin.Server.Implementations/Users')
| -rw-r--r-- | Jellyfin.Server.Implementations/Users/UserManager.cs | 2 |
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."); } |
