Give more information in rake gitlab:ldap:check

This commit is contained in:
Jacob Vosmaer
2013-11-28 18:12:30 +01:00
parent 47239aabef
commit 376cfc6ac6
+5 -3
View File
@@ -682,12 +682,14 @@ namespace :gitlab do
namespace :ldap do
task check: :environment do
next unless ldap_config.enabled
warn_user_is_not_gitlab
start_checking "LDAP"
print_users
if ldap_config.enabled
print_users
else
puts 'LDAP is disabled in config/gitlab.yml'
end
finished_checking "LDAP"
end