1
0
mirror of https://github.com/bitwarden/directory-connector synced 2026-01-07 11:03:23 +00:00

Extend validation to handle emails up to 256 char

This commit is contained in:
Daniel James Smith
2021-03-25 18:39:05 +01:00
parent 762818ee39
commit 997ec5a699

View File

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