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

This commit is contained in:
Jan Orel authored and GitHub committed 2020-08-27 10:55:51 +02:00
1 parent b841f9e47d
commit 08bfe6f003
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