Commit 8018bc96 authored by Rémy Coutable's avatar Rémy Coutable

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

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent e872be6d
...@@ -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