Commit 376cfc6a authored by Jacob Vosmaer's avatar Jacob Vosmaer

Give more information in rake gitlab:ldap:check

parent 47239aab
...@@ -682,12 +682,14 @@ namespace :gitlab do ...@@ -682,12 +682,14 @@ namespace :gitlab do
namespace :ldap do namespace :ldap do
task check: :environment do task check: :environment do
next unless ldap_config.enabled
warn_user_is_not_gitlab warn_user_is_not_gitlab
start_checking "LDAP" start_checking "LDAP"
if ldap_config.enabled
print_users print_users
else
puts 'LDAP is disabled in config/gitlab.yml'
end
finished_checking "LDAP" finished_checking "LDAP"
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment