aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Jellyfin.Api/Controllers/UserController.cs2
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);
}