Issue #892 closed
Роман Карпанин
created an issue

We use LDAP plagin. Some users have email with root zone more then 6 symbols. This list contain all root zones http://www.iana.org/domains/root/db But

REGEX_MAIL =  "^[A-z0-9][\\w.-]*@[A-z0-9][\\w\\-\\.]+\\.[A-z0-9]{2,6}$";

And users can't login: WARN sonia.scm.auth.ldap.LDAPAuthenticationContext - the returned user is not valid:

User{name=USERNAME, displayName=USERNAME, mail=USERNAME@userdomain.digital, password=(not set), admin=false, type=ldap, active=true, creationDate=null, lastModified=null, properties={}}