1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-02 00:22:50 -05:00

deleted instead of disabled

This commit is contained in:
Kyle Spearrin
2017-05-16 11:21:53 -04:00
parent 933a3feade
commit f0328cb3ab
2 changed files with 4 additions and 4 deletions

View File

@ -243,8 +243,8 @@ namespace Bit.Api.Controllers
orgIdGuid,
userId.Value,
model.Groups.Select(g => g.ToImportedGroup(orgIdGuid)),
model.Users.Where(u => !u.Disabled).Select(u => u.ToImportedOrganizationUser()),
model.Users.Where(u => u.Disabled).Select(u => u.ExternalId));
model.Users.Where(u => !u.Deleted).Select(u => u.ToImportedOrganizationUser()),
model.Users.Where(u => u.Deleted).Select(u => u.ExternalId));
}
}
}