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:
commit
d141b87496
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ module Gitlab
|
|||
end
|
||||
|
||||
def name
|
||||
attribute_value(:name).first
|
||||
attribute_value(:name)&.first
|
||||
end
|
||||
|
||||
def uid
|
||||
|
|
Loading…
Reference in a new issue