rashidkpc/Kibana — pull request #62 by ShoeElf (2012-08-29 15:19:30+00:00)
Title: Add Basic Auth via Sinatra

Added Basic authentication from Sinatra FAQ:
http://www.sinatrarb.com/faq.html#auth

Code starts on line 44 of Kibana.rb:
use Rack::Auth::Basic, "Restircted Area" do |username, password|
[username, password] == ['admin', 'admin']
end