mirror of
https://github.com/bitwarden/directory-connector
synced 2025-12-20 18:23:13 +00:00
sync with user external ids
This commit is contained in:
@@ -91,9 +91,9 @@ namespace Bit.Core.Utilities
|
||||
|
||||
foreach(var user in usersInThisGroup)
|
||||
{
|
||||
if(!group.Users.Contains(user.Email))
|
||||
if(!group.Users.Contains(user.Id))
|
||||
{
|
||||
group.Users.Add(user.Email);
|
||||
group.Users.Add(user.Id);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -101,9 +101,9 @@ namespace Bit.Core.Utilities
|
||||
{
|
||||
foreach(var user in currentGroupsUsers)
|
||||
{
|
||||
if(!group.Users.Contains(user.Email))
|
||||
if(!group.Users.Contains(user.Id))
|
||||
{
|
||||
group.Users.Add(user.Email);
|
||||
group.Users.Add(user.Id);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user