1
0
mirror of https://github.com/bitwarden/directory-connector synced 2026-02-28 18:23:14 +00:00

skip null user emails

This commit is contained in:
Kyle Spearrin
2020-05-04 08:35:39 -04:00
parent 8b2fa8405b
commit 0575ee5507
2 changed files with 2 additions and 2 deletions

2
jslib

Submodule jslib updated: 2de8c5ed16...0092aac275

View File

@@ -104,7 +104,7 @@ export class SyncService {
}
private filterUnsupportedUsers(users: UserEntry[]): UserEntry[] {
return users.filter((u) => u.email.length <= 50);
return users.filter((u) => u.email == null || u.email.length <= 50);
}
private flattenUsersToGroups(levelGroups: GroupEntry[], allGroups: GroupEntry[]): Set<string> {