mirror of
https://github.com/bitwarden/server.git
synced 2024-11-28 13:15:12 +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
|
// Active from path
|
||||||
if (operation.Path?.ToLowerInvariant() == "active")
|
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)
|
if (!operationHandled)
|
||||||
{
|
{
|
||||||
operationHandled = handled;
|
operationHandled = handled;
|
||||||
|
Loading…
Reference in New Issue
Block a user