Disable email format validation with LDAP authentication
Created by: rcsilva83
In my organization, some users don't have an e-mail address. At the e-mail field in ActiveDirectory, they have a fake (malformed) e-mail address, something like "user.name@xx". When these users try to login into Gitlab, they get the following error:
'Could not authorize you from LDAP because "Validation failed: email is invalid, email is invalid".'
So, it would be very nice to have an option to disable the email validation with LDAP logins because LDAP users can't change their email address and the ones without email are unable to use Gitlab.