Merge branch 'ce-1974-update-user-name-upon-ldap-sync' into 'master'

Handle nil name in Gitlab::Auth::LDAP::Person#name

See merge request gitlab-org/gitlab-ce!26364
This commit is contained in:
Douwe Maan 2019-03-21 10:10:44 +00:00
commit d141b87496

View file

@ -69,7 +69,7 @@ module Gitlab
end
def name
attribute_value(:name).first
attribute_value(:name)&.first
end
def uid