mirror of
https://github.com/bitwarden/server
synced 2025-12-20 02:03:46 +00:00
lowercase op string comparisons (#2129)
This commit is contained in:
@@ -220,7 +220,8 @@ namespace Bit.Scim.Controllers.v2
|
||||
|
||||
var operationHandled = false;
|
||||
|
||||
var replaceOp = model.Operations?.FirstOrDefault(o => o.Op == "replace");
|
||||
var replaceOp = model.Operations?.FirstOrDefault(o =>
|
||||
o.Op?.ToLowerInvariant() == "replace");
|
||||
if (replaceOp != null)
|
||||
{
|
||||
if (replaceOp.Value.TryGetProperty("active", out var activeProperty))
|
||||
|
||||
Reference in New Issue
Block a user