mirror of
https://github.com/bitwarden/directory-connector
synced 2025-12-05 23:53:21 +00:00
Revert unrelated change
This commit is contained in:
@@ -164,8 +164,13 @@ export class SyncService {
|
||||
}
|
||||
} else {
|
||||
if (!u.deleted) {
|
||||
// Check that active UserEntry does not conflict with a deleted UserEntry
|
||||
if (processedDeletedUsers.has(u.email)) {
|
||||
duplicateEmails.push(u.email);
|
||||
} else {
|
||||
processedActiveUsers.set(u.email, JSON.stringify(u));
|
||||
uniqueUsers.push(u);
|
||||
}
|
||||
} else {
|
||||
// UserEntrys with duplicate email will not throw an error if they are all deleted. They will be synced.
|
||||
processedDeletedUsers.set(u.email, JSON.stringify(u));
|
||||
|
||||
Reference in New Issue
Block a user