Commit d141b874 authored by Douwe Maan's avatar Douwe Maan

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
parents 1efa9604 8018bc96
...@@ -69,7 +69,7 @@ module Gitlab ...@@ -69,7 +69,7 @@ module Gitlab
end end
def name def name
attribute_value(:name).first attribute_value(:name)&.first
end end
def uid def uid
......
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