lib/fluent/plugin/in_sendgrid_event.rb in fluent-plugin-sendgrid-event-0.0.3 vs lib/fluent/plugin/in_sendgrid_event.rb in fluent-plugin-sendgrid-event-0.0.4
- old
+ new
@@ -62,10 +62,10 @@
end
end
if @username && @password
listen[:RequestCallback] = lambda do |req, res|
WEBrick::HTTPAuth.basic_auth(req, res, "fluent-plugin-sendgrid-event") do |username, password|
- username == @username && @password
+ username == @username && password == @password
end
end
end
@server = WEBrick::HTTPServer.new(listen)