diff options
| author | JPVenson <github@jpb.email> | 2025-02-19 18:30:18 +0000 |
|---|---|---|
| committer | JPVenson <github@jpb.email> | 2025-02-19 18:30:18 +0000 |
| commit | f07e1f4aaee9b61b07d1389107973ead146c639b (patch) | |
| tree | 468df7f078684639258239afac7866176242e599 /Jellyfin.Api | |
| parent | d8030147ffea8bd6b2753ac52e56b92fb15a1b47 (diff) | |
Reverted Comparison code for name check
Diffstat (limited to 'Jellyfin.Api')
| -rw-r--r-- | Jellyfin.Api/Controllers/UserController.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/UserController.cs b/Jellyfin.Api/Controllers/UserController.cs index 88e5d46ad..838578fab 100644 --- a/Jellyfin.Api/Controllers/UserController.cs +++ b/Jellyfin.Api/Controllers/UserController.cs @@ -390,7 +390,7 @@ public class UserController : BaseJellyfinApiController return StatusCode(StatusCodes.Status403Forbidden, "User update not allowed."); } - if (!string.Equals(user.Username, updateUser.Name, StringComparison.OrdinalIgnoreCase)) + if (!string.Equals(user.Username, updateUser.Name, StringComparison.Ordinal)) { await _userManager.RenameUser(user, updateUser.Name).ConfigureAwait(false); } |
