mirror of
https://github.com/bitwarden/server.git
synced 2024-11-21 12:05:42 +01:00
parse user active path as string value (#2193)
This commit is contained in:
parent
62f29efb00
commit
8b323e67c1
@ -232,7 +232,8 @@ namespace Bit.Scim.Controllers.v2
|
||||
// Active from path
|
||||
if (operation.Path?.ToLowerInvariant() == "active")
|
||||
{
|
||||
var handled = await HandleActiveOperationAsync(orgUser, operation.Value.GetBoolean());
|
||||
var active = operation.Value.ToString()?.ToLowerInvariant();
|
||||
var handled = await HandleActiveOperationAsync(orgUser, active == "true");
|
||||
if (!operationHandled)
|
||||
{
|
||||
operationHandled = handled;
|
||||
|
Loading…
Reference in New Issue
Block a user