mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-15 15:46:08 +10:00
Give more information in rake gitlab:ldap:check
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user