diff --git a/connector/ldap/ldap.go b/connector/ldap/ldap.go index 50688c35f7..d39175c3cc 100644 --- a/connector/ldap/ldap.go +++ b/connector/ldap/ldap.go @@ -278,6 +278,9 @@ func (c *ldapConnector) identityFromEntry(user ldap.Entry) (ident connector.Iden if ident.Email = getAttr(user, c.UserSearch.EmailAttr); ident.Email == "" { missing = append(missing, c.UserSearch.EmailAttr) } + // TODO(ericchiang): Let this value be set from an attribute. + ident.EmailVerified = true + if c.UserSearch.NameAttr != "" { if ident.Username = getAttr(user, c.UserSearch.NameAttr); ident.Username == "" { missing = append(missing, c.UserSearch.NameAttr)