Have a property in sonar.properties to disable user email update when using LDAP authentication.
My LDAP does not have the email address attribute set (mail) and no other attribute contains the email address. There should be a way to prevent using ldap.user.emailAttribute to set or update the user’s email address.
Since my LDAP doesn’t have that attribute, the email is empty. Using the admin tool, I can go and set the user’s email but as soon as the user logs back in, the email is resetted to “empty” - this is very annoying.