LDAP authentication without email

Description

Hi everyone!
I have tis error if I try to login(registration) with LDAP user (MS AD)
“Exception while invoking method login”,“err”:{“type”:“Error”,“message”:“Failed to get email address from LDAP user”,“stack”:“Error: Failed to get email address from LDAP user

How can I disable email check for my Active Directory users?
Bicause we haven`t email attribute for this users.

Server Setup Information

  • Version of Rocket.Chat Server:
  • Operating System: Ubuntu 22.04
  • Deployment Method: docker
  • Proxy: nginx

We have got the same problem.

Some LDAP users could not log in and it took us some time to figure out, that it was the missing email adress.