gitlabhq/gitlabhq — pull request #3060 by thomasdupas (2013-02-21 11:03:33+00:00)
Title: Disable user creation mails if ldap auth is used

Users were complaining of a confusing mail they received with a gitlab password, while they had to use ldap auth.

There is no point in sending the user a password which they shouldn't use (and can't use unless they choose "other auth method" in the login screen, which only increases the confusion)