M #-: LDAP user_uid might be nil (#158)

(cherry picked from commit 08bfe6f003)
This commit is contained in:
Jan Orel authored and Ruben S. Montero committed 2020-08-27 10:56:36 +02:00
1 parent 3d42b4461b
commit fa51f18fd4
1 file changed
+1 -1
+1 -1
View File
@@ -93,7 +93,7 @@ order.each do |servers|
break
end
if user_uid.downcase != user.downcase
if !user_uid.nil? && user_uid.downcase != user.downcase
STDERR.puts "User \"#{user}\" and \"#{user_uid}\" "\
"differes (leading/trailing whitespace)"
break